[
https://issues.apache.org/jira/browse/MYFACES-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe resolved MYFACES-2781.
-------------------------------------
Assignee: Leonardo Uribe
Fix Version/s: 2.0.1-SNAPSHOT
Resolution: Fixed
After fix MYFACES-2801, we can close this issue.
> Facelets double commenting embedded javascripts
> -----------------------------------------------
>
> Key: MYFACES-2781
> URL: https://issues.apache.org/jira/browse/MYFACES-2781
> Project: MyFaces Core
> Issue Type: Bug
> Components: General, JSR-314
> Affects Versions: 2.0.1, 2.0.2-SNAPSHOT
> Reporter: Werner Punz
> Assignee: Leonardo Uribe
> Fix For: 2.0.1-SNAPSHOT
>
>
> While I was testing the new head functionality I recognized an error which
> has not influenced browsers but influences my parsing routines (which rely on
> valid xhtml/xml markup for the head processing)
> <h:head>
> <script type="text/javascript"><!--
> var myCounterVar = Math.floor(Math.random() * 11)
> //--></script>
> </h:head>
> renders on the browser
> <script type="text/javascript"><!--
> <!--
> var myCounterVar = Math.floor(Math.random() * 11)
> //-->
> //--></script
> As you can see <!-- becomes <!--<!--
> and //--> becomes //--> //-->
> while this is fine for a javascript processor it is not for a parser which
> has to rely on valid markup.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.