[geeklog-users] Re: geeklog-users digest, Vol 1 #102 - 7 msgs

geeklog-users-admin at lists.geeklog.net geeklog-users-admin at lists.geeklog.net
Mon Jun 16 13:21:32 EDT 2003


This is really odd.  I took the exact code you had posted here,
placed it in a normal block on the left side, and it worked fine.
Maybe the problem has something to do with Geeklog incorrectly
detecting whether magic quotes are on or off?

John

-----

Message: 6
Date: Mon, 16 Jun 2003 08:33:24 -0700
Subject: Re: [geeklog-users] including javascript in blocks
Cc: Norman Cohen <nacohen at mac.com>
To: geeklog-users at lists.geeklog.net
From: geeklog-users-admin at lists.geeklog.net
Reply-To: geeklog-users at lists.geeklog.net

Thanks, but I've found another problem. Geeklog is stripping
slashes
from the javascript code in this section:

i=0; document.write("\<a href=\"");
while( t[i] ) document.write("\&\#"+t[i++]+";");
i++; document.write("\" title=\"");
while( t[i] ) document.write("\&\#"+t[i++]+";");
i++; document.write("\"\>");
while( t[i] ) document.write("\&\#"+t[i++]+";");
i++; document.write("\<\/a\>");

When viewing the source, after loading the javascript, all the
backslashes which are escaping the special characters are being
removed. How do I go about preventing that from happening?

Norm
On Monday, June 16, 2003, at 01:13  AM,
geeklog-users-admin at lists.geeklog.net wrote:





More information about the geeklog-users mailing list