[ZCM] [ZC] 296/ 1 Request "Autoformatting in ZPT is painful"
Collector: Zope Bugs and Patches ...
zope-coders@zope.org
Fri, 15 Mar 2002 19:36:13 -0500
Issue #296 Update (Request) "Autoformatting in ZPT is painful"
Status Pending, Zope/bug low
To followup, visit:
http://collector.zope.org/Zope/296
==============================================================
= Request - Entry #1 by djay on Mar 15, 2002 7:36 pm
When I put a line like
<img border="0" src="Graphics/glass.jpg" width="38" height="42"
><img border="0" src="Graphics/bordeuax.jpg" width="53" height="42">
into my template, it will lose the EOL and return to
<img border="0" src="Graphics/glass.jpg" width="38" height="42"><img border="0" src="Graphics/bordeuax.jpg" width="53" height="42">
This becomes very painful when I have really long lines
and hense the horizontal scrollbar kicks in on the ZMI for ZPT. This is esp painful when there is an error on the template as the error doesn't wrap either. I'd suggest fixing the parser so it keeps the formatting as well as specifying a maximum width for error messages.
==============================================================