[Zope] I want to use html_quote as a function

Ryan M. Dolensek rdolense@globalcrossing.com
Mon, 16 Oct 2000 11:01:18 -0500


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  -  Zope@zope.org
> 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
rdolense@globalcrossing.com