[plt-scheme] quoted characters in web server

From: Mike Burns (mike at mike-burns.com)
Date: Tue May 3 22:40:40 EDT 2005

--- Ittai Balaban mumbled on 2005-05-03 21.06.57 -0400 ---
> Well, my servlet is generating javascript code. Naturally, I don't want
> "&"'s in my javascript to appear as "&"'s.

If you're embedding JavaScript in your XHTML you should be escaping the & 
and < as usual, as specified at http://www.w3.org/TR/xhtml1/#h-4.8 .

Mike Burns mike at mike-burns.com http://mike-burns.com

Posted on the users mailing list.