[
https://issues.apache.org/jira/browse/TAPESTRY-2028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557419#action_12557419
]
Chris Lewis commented on TAPESTRY-2028:
---------------------------------------
Let me also state my primary source of ammo here: reality. I have dealt with
some boggling problems from IE 5-7, and I'm talking entire pages not rendering
(or only partially so) because of a seemingly neurotic dependency on formatting
in CSS files - and that's just one family of browsers (read one family of
bugs)! On top of that, comments are in the XML (and HTML) specs for a reason.
Even if T5 leaves comments, what good are they in such purified pages? Again
I'm not wholesale against the idea, but there _must_ be a way to disable it.
It's an ambitious feature and that's good, but it may be too idealistic in the
assumption that browsers behave the way they should.
> Mimimize whitespace in the output markup
> ----------------------------------------
>
> Key: TAPESTRY-2028
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2028
> Project: Tapestry
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.0.7
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Fix For: 5.0.8
>
>
> Tapestry (4 and 5) has traditionally honored all the white space in a
> template. This is for a few specific cases, such as text inside a <pre>
> element (who uses those?).
> This results in output documents that, due to the extra whitespace that often
> surrounds Tapestry components, contain large amounts of whitespace.
> In most cases, interior white space (whitespace between text characters) can
> be reduced to a single space, and white space just after a tag or just before
> a tag can be eliminated entirely.
> The Tapestry template parser should honor the xml:space attribute and use it
> to determine what template whitespace is relevant, and what whitespace may be
> minimized or eliminated.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]