[Zope] Quoting quotes
Dieter Maurer
dieter@handshake.de
Tue, 13 Aug 2002 21:39:57 +0200
Charlie Reiman writes:
> ...
> The only solution I've found is the icky:
>
> <dtml-var expr="pything('She said \x22Yes.\x22')">
>
> or
>
> <dtml-var expr="pything('She said \042Yes.\042')">
>
> Is that the only way? Does dtml lack any kind of escape sequence? I can
> understand why there wouldn't be one but I'd like to be sure before I go
You can also use the "chr" function (--> Python library reference),
but I do not think, it is easier.
Dieter