[
https://issues.apache.org/jira/browse/TAPESTRY-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588224#action_12588224
]
Igor E. Poteryaev commented on TAPESTRY-1670:
---------------------------------------------
I want to mention important use case where comment should not be removed.
Internet Explorer uses so called "Conditional comments"
http://msdn2.microsoft.com/en-us/library/ms537512(VS.85).aspx
Something like this can be used for isolating all IE css quirks/hacks:
<head>
...
<link href="${mediaUrl}/css/common.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 7]><link href="${mediaUrl}/css/ie.css" rel="stylesheet"
type="text/css" /><![endif]-->
<!--[if lte IE 6]><link href="${mediaUrl}/css/ie6.css" rel="stylesheet"
type="text/css" /><![endif]-->
...
</head>
So it is important (at least for us) to preserve "Conditional comments" when
stripping out all other html comments.
> remove html comments before render
> ----------------------------------
>
> Key: TAPESTRY-1670
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1670
> Project: Tapestry
> Issue Type: New Feature
> Components: Framework
> Affects Versions: 4.1.2
> Reporter: Cyrille
>
> It should be great to have a option which when activated Tap will strip out
> html's comment when rendering pages. Effectivly, we often make comment in the
> source code which are not welcome online.
--
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]