Details
Description
When the "oam-compress-spaces" option removes spaces in a CDATA section it can cause problems with the generated code. For example, I sometimes do:
<script type="text/javascript">
//<![CDATA[
someJavascript();
//]]>
</script>
If there happens to be a space after //<![CDATA[, then it comes out:
<script type="text/javascript">
//<![CDATA[ someJavascript();
//]]></script>
so someJavascript() is not called by the browser.
Attachments
Issue Links
- causes
-
MYFACES-4448 avoid ClassCastException in TextUnit.compressSpaces
- Closed