It doesn't really do that; a lot of HTML from templates shoots through 
unchanged. In fact, eliminating whitespace is of more practical use than 
generating more of it.

To understand where it is safe to add whitespace (i.e., not inside a <pre>) 
requires a bit more parsing and tracking of the HTML than Tapestry is 
designed to do; further, it also creates some additional issues for XML 
rendering.

On 5/4/05, Robert <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> Is there some way to let the IMarkupWriter insert newlines and 
> auto-indent?
> Because some of my HTML is all on one line now :)
> Of course I could add them manually, but in theory the writer can be
> smart enough to do this for me.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com

Reply via email to