7 Mar
2000
7 Mar
'00
10:17 p.m.
On 7 Mar, James W. Howe wrote:
I have a method that I want to return a list. The problem is that one of the items in the list needs to have an embedded single quote character. I'm currently returning the list like this:
<dtml-return "['item1', 'item2', 'item3']">
how can I recode this so that I can return items like "John's"?
This is just a guess (I'm a Zope newbie too) but I believe <dtml-return "['John\'s', 'Mary\'s']"> Will work. -- ______ __ __ _____ _ _ | ____ | \_/ |_____] |_____| |_____| |_____ | | | | @ t w i s t e d m a t r i x . c o m http://www.twistedmatrix.com/~glyph/