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/07/12 19:53:32 UTC

[jira] Closed: (TAPESTRY-2503) A space is added to a HTML start comment sequence making it impossible to add IE conditional comments

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

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

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

There is an easy workaround: use the writeRaw() method.

> A space is added to a HTML start comment sequence making it impossible to add IE conditional comments 
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2503
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2503
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 5.0.13
>            Reporter: Martijn Brinkers
>            Assignee: Howard M. Lewis Ship
>
> I tried to add an Internet Explorer conditional style to solve some rendering differences between IE and FF. To way to add conditional comments is by using the following syntax
> <!--[if IE]>
> Special instructions for IE here
> <![endif]-->
> The problem is that Tapestry adds a space between <!-- and [if IE] 
> example: <!--[if IE]> becomes <!-- [if IE]>  (note the added space)
> IE only accepts the conditional comment if there is no space between <!-- and [if IE] 
>  

-- 
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