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 tried
>
> <dtml-call "REQUEST.set('htmldesc',html_quote(REQUEST['description']))">
>
> It didn't work. How do I solve this problem?
>
> Sincerely yours,
>
> Soren Roug
>
> _______________________________________________
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

--
Ryan Dolensek
Software Engineer
Global Crossing
(920)405-4812
[EMAIL PROTECTED]



_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to