Ok, it was TALInterpreter after all, but you need a long list of attributes
(on a single line / single tal:attributes statement I mean)...
It's because of the TAL.TALInterpreter.TALInterpreter.wrap value defaulting
to 60 (see __init__)
I managed, in my object that relies on PageTemplate, to set warp to 0 and I
got no more extra newlines.

So, just to know, why is the default value 60 ?

Pascal


-----Message d'origine-----
De : Andreas Jung [mailto:[EMAIL PROTECTED]
Envoyé : lundi 18 avril 2005 16:57
À : Pascal Peregrina; 'zope@zope.org'
Objet : Re: [Zope] tal:attributes and extra newline




--On Montag, 18. April 2005 16:31 Uhr +0200 Pascal Peregrina 
<[EMAIL PROTECTED]> wrote:

> Hi,
>
> I would like to know the reason why tal:attributes adds an extra newline
> for each generated tag attribute.
> This just makes generated HTML bigger...

It generates *only newlines if *you* generate multiple attributes using a
single tal:attributes statement on *multiple* lines...so it's your 
application..

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

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

Reply via email to