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

Jim Sanford jsanford@atinucleus.com
Fri, 2 Jun 2000 08:26:25 -0500


You've got my vote. Being able to use """ would solve alot of my dtml coding
headaches.

Jim Sanford
----- Original Message -----
From: "Steve Alexander" <steve@cat-box.net>
To: <zope-dev@zope.org>
Sent: Friday, June 02, 2000 8:06 AM
Subject: [Zope-dev] Using """string""" idiom in dtml


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

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )