hello, I'm shure it's a often asked question ... sorry ;o{ How to get python returned string to be not html escaped, just a raw string ? I call a product instance like this : <span tal:replace="python: here.meteo" /> the return value is a html string, and Zope is escaping it like character '<' is rewritting as '<' is there a tal syntax that I can use to tell Zope to not escape python output ??? thanks, Cyrille
On Tue, Nov 05, 2002 at 01:49:33PM +0100, cyrille wrote:
hello, I'm shure it's a often asked question ... sorry ;o{
Yep, and like many oft-asked questions on this list, it's answered in The Zope Book.
How to get python returned string to be not html escaped, just a raw string ?
The Zope Book, chapter "Advanced Page Templates" answers this question: http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AdvZPT.stx in the section "Inserting Structure". Brad
participants (2)
-
Brad Bollenbach -
cyrille