[Zope] fmt weirdness

Evan Simpson evan@4-am.com
Tue, 6 Jun 2000 13:15:54 -0400


----- Original Message -----
From: Chris Withers <chrisw@nipltd.com>
> <dtml-var "_.DateTime()" fmt="%d %B %Y">
>
> ...works fine
>
> <dtml-var "_.DateTime()" fmt='%d %B %Y'>
>
> ...barfs with a 'Document Template Parse Error':

The dtml parser only likes double-quoted attribute values. It sees the above
as having attributes "fmt='%d", "%B", and "%Y'".

Cheers,

Evan @ digicool & 4-am