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?
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
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