SV: [ZPT] mangled source

Jason Byron jason_zope@yahoo.com
Mon, 25 Jun 2001 08:43:38 -0700 (PDT)


> > To be able to write something like:
> > 
> > <td tal:condition="not:here/foo" tal:attributes="bgcolor
> > python:here.bar(color=3)" tal:content="string:foobar">
> > 
> > and end up with:
> > 
> > <td tal:condition="not:here/foo" 
> >     tal:attributes="bgcolor python:here.bar(color=3)" 
> >     tal:content="string:foobar">
> > 
> > is what I would like to have....
> 
> It does this now, more or less (it tries to put multiple
> attributes on
> the same line if they fit according to the wrap value).
> 

I think this should be the formatting no matter what the wrap
value is.

As long as the spaces before and after the tag are not changed,
the result of this behavior is to make the code more readable.
(albeit longer)




__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/