<script src=""> generates extra html comments
---------------------------------------------

                 Key: MYFACES-1963
                 URL: https://issues.apache.org/jira/browse/MYFACES-1963
             Project: MyFaces Core
          Issue Type: Improvement
          Components: General
    Affects Versions: 1.1.5, 1.1.4, 1.1.3
            Reporter: Bruno Hondelatte
            Priority: Minor


When inserting a javascript source file, extra comments are added. For instance 
:

<script type="text/javascript" src="test.js"><!-- --> </script>

A way to remove these comments would be to generate comments inside write and 
writeText methods in 
org.apache.myfaces.shared.renderkit.html.HtmlResponseWriterImpl, and not in 
writeElement method. In this case, if no write or writeElement is issued, the 
unnecessary comments are not written to the output.

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

Reply via email to