8 Mar
2004
8 Mar
'04
6:58 p.m.
Samir Mishra wrote at 2004-3-8 10:31 +0400:
This ought to be simple, but can't find module/function to do this. I'm writing an external method that reads text for inclusion into HTML. Some of the strings have "&" (= &) and other non-HTML conformant characters. I know Zope takes care of this translation automatically, but is there something outside Zope I could use?
You can use "html_quote" from "Products.PythonScripts.standard". -- Dieter