[Zope] Zope and Javascript

Phillip Hutchings sitharus at gmail.com
Wed Dec 22 15:13:46 EST 2004


On Wed, 22 Dec 2004 15:11:39 -0500, Alan Snyder <alan8373 at gmail.com> wrote:
> do you need to replace the "<" with "&lt;" - i think i remember this
> works inside javascript.

Only if the JavaScript is embedded in HTML, as the browser will
convert the &lt; to < before passing it to the interpreter. With an
external file you can't do this, as it doesn't go through an HTML
parser.

-- 
Phillip Hutchings
http://www.sitharus.com/
sitharus at gmail.com / sitharus at sitharus.com


More information about the Zope mailing list