[Zope] I want to use html_quote as a function

2000-10-16 Thread Soren Roug
Hi, I can render text that potentially has html in it safely with dtml-var description html_quote but what if I want to assign the quoted result to another variable. I tried dtml-call "REQUEST.set('htmldesc',html_quote(REQUEST['description']))" It didn't work. How do I solve this problem?

Re: [Zope] I want to use html_quote as a function

2000-10-16 Thread Ryan M. Dolensek
try... dtml-call "REQUEST.set('htmldesc',utils.httpEscapedString(REQUEST['description']))" ryan Soren Roug wrote: Hi, I can render text that potentially has html in it safely with dtml-var description html_quote but what if I want to assign the quoted result to another variable. I

Re: [Zope] I want to use html_quote as a function

2000-10-16 Thread Kapil Thangavelu
Hello, "Ryan M. Dolensek" wrote: try... dtml-call "REQUEST.set('htmldesc',utils.httpEscapedString(REQUEST['description']))" huh??, what is this, i'm not aware of anything resembling this being in zope's core, i think you are using some type of custom lib. if not i'd like to hear about