[ZPT] RE:Re: [Zope] prevent quoting in tal:attributes

Jamie Heilman jamie at audible.transient.net
Fri Oct 3 17:51:46 EDT 2003


Evan Simpson wrote:
> That's because it only affects entities *other* than those for '&<>"'. 

Ah ha.  Well that would certainly explain it. <g>

> This can be partially addressed by keeping the original string literal 
> value for each attribute, and using that for 'default'.  For now, I plan 
> to back out my changes, and implement this.

sounds good
 
> This is tricky to implement in Python 2.2.x, since it doesn't handle 
> overriding of __mod__ on a str subclass properly.

well... seeing as 2.3 now seems to be the flavour of choice...

-- 
Jamie Heilman                     http://audible.transient.net/~jamie/
"I was in love once -- a Sinclair ZX-81.  People said, "No, Holly,
 she's not for you." She was cheap, she was stupid and she wouldn't
 load -- well, not for me, anyway."                     -Holly



More information about the ZPT mailing list