Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
1.1.3, 1.1.4, 1.1.5
-
None
-
None
Description
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.
Attachments
Issue Links
- duplicates
-
MYFACES-2801 HtmlResponseWriterImpl needs to deal with <script> and <style> tags properly on both html and xhtml
- Closed