[Zope] DTML: let a variable be the html_quote of another

Dieter Maurer dieter@handshake.de
Wed, 21 Mar 2001 21:44:09 +0100 (CET)


Danny William Adair writes:
 > How can I achieve this?
 > 
 > <dtml-let yummy="hardtoswallow html_quote">
 > 
 > doesn't work, neither does
 > 
 > <dtml-let yummy="_.html_quote(hardtoswallow)">
The mail archives are your friend ....

  You will find there:

    *  how to use "html_quote" from PythonScript (-> message from Evan)
    *  how to make a DTML method as a function that "html_quotes"
       (or "url_quotes" or whatever "dtml-var" can do) (-> message
       from me - was for "url_quote")

Dieter