[ 
http://issues.apache.org/jira/browse/COCOON-1839?page=comments#action_12375697 
] 

Antonio Gallardo commented on COCOON-1839:
------------------------------------------

Eric, would you try to move <script> right after the title? IMHO, it should 
work. Something like:

      <head>
        <title>....</title>
        <script src="{$contextPath}/scripts/main.js" type="text/javascript"/>
       ......
      </head>
    
Just let me know if this woks and I will commit the fix. Many thanks in advance.

> exception2html.xslt <script /> causes IE display problem
> --------------------------------------------------------
>
>          Key: COCOON-1839
>          URL: http://issues.apache.org/jira/browse/COCOON-1839
>      Project: Cocoon
>         Type: Bug

>   Components: * Cocoon Core
>     Versions: 2.1.9
>     Reporter: Eric Meyer
>     Priority: Minor
>  Attachments: exception2xhtml-patch.txt
>
> 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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to