[Zope-dev] Using """string""" idiom in dtml

Steve Alexander steve@cat-box.net
Fri, 02 Jun 2000 14:06:05 +0100


How easy would it be to allow """python strings""" inside DTML tag
attributes?

I'm thinking particularly of situations like:

  <dtml-var "'''<img src="foo.gif">''' * 12">

Currently, you need to mess about with _.chr(34) and string
concatenation.

The triple-quote idiom looks clearer to my eyes.

--
Steve Alexander
Software Engineer
Cat-Box limited