[Zope] HTTP Quoting, XHTML

Dieter Maurer dieter@handshake.de
Mon, 31 Mar 2003 22:32:40 +0200


Samir Mishra wrote at 2003-3-30 08:05 +0400:
 > Is there a Python/Zope function for HTTP quoting of strings?

You can use DTML's entity reference syntax (when you do not know
what this is, see

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>

).

You can use the DTML attribute "html_quote" and the
function "html_quote" in "Products.PythonScripts.standard".


Dieter