20 Apr
2005
20 Apr
'05
5:01 p.m.
BonviciniJ@keops.net wrote:
I have another problem (not in relation with AUTHENTICATED_USER): I would like to know if a special function exists to transform special char in html (like HTMLentities in PHP or escape in javascript)
Your Zope online help will help you. For Python code, see the Products.PythonScripts.standard module, which includes html_quote() For DTML, see the docs on dtml-var. Specifically, the html_quote attribute. For ZPT, encoding is done automatically. You have to use structure keyword to stop it. --jcc