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

exception2html.xslt <script /> causes IE display problem

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.9
    • Fix Version/s: 2.1.10, 2.2
    • Component/s: * Cocoon Core
    • Labels:
      None
    • Other Info:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: