[Zope] quote escaping in DTML

Thomas B. Passin tpassin@mitretek.org
Thu, 7 Feb 2002 17:31:01 -0500


[Milos Prudek]

> Is it possible to escape quotes in DTML?
>
> There are situations where single and double quotes pile up in a manner
> that makes expressions invalid.
>

Yes, escape an apostrophe with a backslash (\') and a double quote with
_.chr(34)

Cheers,

Tom P