You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bruno Hondelatte (JIRA)" <de...@myfaces.apache.org> on 2008/09/09 17:17:44 UTC

[jira] Created: (MYFACES-1961) xhtml comments when inserting javascript code

xhtml comments when inserting javascript code
---------------------------------------------

                 Key: MYFACES-1961
                 URL: https://issues.apache.org/jira/browse/MYFACES-1961
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 1.1.6, 1.1.5, 1.1.4, 1.1.3
            Reporter: Bruno Hondelatte


When inserting a javascript code inside a page, the HtmlResponseWriter outputs :

 <script type="text/javascript"><!--
//javascript stuff
 //--></script> 

The correct syntax would be with a double slash in front of <!--

 <script type="text/javascript">//<!--
//javascript stuff
 //--></script> 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.