Re: Quote/String problem with DTML

"Thorsten Fox" <[email protected]>
Newsgroups gmane.comp.cms.zms.devel
Message-ID <[email protected]>
> How can I write quote characters within a string? There's an example:
> <dtml-call "container.append('<img src=___' + image.getHref(REQUEST) +
'___>')">

This should work:
<dtml-call "container.append('<img
src=\'%s\'>'%image.getHref(REQUEST))">

Greatings,

tf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.