Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1128

A space is added to a HTML start comment sequence making it impossible to add IE conditional comments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2.0
    • tapestry-core
    • None

    Description

      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]

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            martijn_brinkers Martijn Brinkers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: