Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1839

exception2html.xslt <script /> causes IE display problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.9
    • 2.1.10, 2.2
    • * Cocoon Core
    • None
    • Patch available

    Description

      The IE rendering engine will show a blank page if the document contains a minimal (self-closing) <script /> tag.
      By putting in an nbsp (&#160;) or a new line, the XSLT produces <script> </script>, which then allows IE to properly display the page.
      The attached page (license granted to asf) adds a non-breaking space to keep the tag from being collapsed.

              <script src="{$contextPath}/scripts/main.js" type="text/javascript">
               &#160;
              </script>

      Attachments

        Issue Links

          Activity

            People

              antonio Antonio Gallardo Rivera
              eric.meyer Eric Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: