[plt-scheme] HTML escaping questions
Thanks to Dougo, I got the XML library loaded. I have a coupla questions:
1/ Given these two values for text and banner:
(define text "pretty & red")
(define banner "\"here is the banner\"")
(empty-tag-shorthand html-empty-tags)
(write-xml/content (xexpr->xml `(html (head (title ,banner))
(body ((bgcolor "white"))
,text)))
The ampersand is converted to an XML entity but the quotation marks are not
2/ I have some files of javascript that I need to place in a website.
How do I create an X-expr that does not atttempt any HTML escaping on
its input string?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20040223/44b32f06/attachment.html>