Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Outdated
-
2.26.08
-
None
-
Tomcat 7.x
-
Sprint 69
Description
The following code:
<hst:headContribution category="jsFlag">
<script>
$(document).onload(function()
);
</script>
</hst:headContribution>
and:
<hst:headContributions categoryIncludes="jsFlag"/>
results in:
<script>
<input type="hidden" name="js_enabled" value="true"/>
</script>
Obviously this is not the desired result, because all java script has been removed.
The problem does not occur when the script-code is surrounded by CDATA tags, but it shouldn't be a problem without the CDATA-tags as well.