Cocoon
  1. Cocoon
  2. COCOON-1839

exception2html.xslt <script /> causes IE display problem

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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>

        Issue Links

          Activity

          Antonio Gallardo made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 2.2-dev (Current SVN) [ 12310611 ]
          Fix Version/s 2.1.10-dev (current SVN) [ 12310931 ]
          Resolution Fixed [ 1 ]
          Antonio Gallardo made changes -
          Assignee Antonio Gallardo [ antonio ]
          Antonio Gallardo made changes -
          Field Original Value New Value
          Link This issue is related to COCOON-1732 [ COCOON-1732 ]
          Eric Meyer created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development