[ZPT] html_quote in ZPT

Dieter Maurer dieter at handshake.de
Fri Jul 25 02:55:04 EDT 2003


Gitte Wange wrote at 2003-7-23 22:12 +0200:
 > I may have been missing something, but isn't it possible to use 
 > html_quote (or something similar) in a Page Template?

Someone else already told you that html quoting is done automatically
for "tal:content" and "tal:replace".

Additionally, "html_quote" (and some other useful functions)
are available via "Products.PythonScripts.standard":

    <XXX tal:define="
      standard	nocall: modules/Products.PythonScripts.standard;
      html_quote nocall: standard/html_quote;
      "
      >
      ....
    </XXX>


Dieter



More information about the ZPT mailing list