You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/01/09 20:32:34 UTC

[jira] Closed: (TAPESTRY-1461) Whitespace after end tag in HTML discarded

     [ https://issues.apache.org/jira/browse/TAPESTRY-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-1461.
------------------------------------------

    Resolution: Won't Fix
      Assignee: Howard M. Lewis Ship

Well, if you don't like that you are going to hate TAPESTRY-2028 which strips out virtually all whitespace from the rendered output.

And, yes, it would be very, very hard to fix this to your liking, the whitespace after the </li> tag is owned by the <ul> element.

> Whitespace after end tag in HTML discarded
> ------------------------------------------
>
>                 Key: TAPESTRY-1461
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1461
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.4
>         Environment: Sun JDK 1.5 / Tomcat 6.0.10
>            Reporter: Folke Behrens
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> Any whitespace character (space, break, etc.) after an end tag is discarded:
> e.g.:
> <ul>
>   <li t:type="loop" ... >...</li>
> </ul>
> Here the line break after </li> is swallowed and each <li> element and the final </ul> element is put on the same line. This happens to any XML element touched by Tapestry.
> Technically the whitespace after an end tag belongs to the surrounding element. But in this case it changes the HTML output (ugly) and sometimes how it's rendered in a browser.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org