[Zope] Turning of html quote in HTML templates

Dieter Maurer dieter@handshake.de
Tue, 27 May 2003 21:16:33 +0200


Johan Carlsson wrote at 2003-5-27 10:12 +0200:
 > I'm using HTML (App.special_dtml.HTML) for inline DTML template in my
 > product.But I can't get it to stop quoting HTML entities like –.
 > 
 > How do I turn of quoting form HTML templates?

You must render (i.e. call) them.
When you access them without rendering, you effectively call
its "__str__" method that returns the HTML quoted source.


Dieter