Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.1.1
-
Component/s: Core, Module - Xdoc, Module - Xhtml
-
Labels:None
-
Number of attachments :
Description
Javascript code within <script> tags has to be escaped within CDATA to make it valid xhtml. However, even though the javascript code in the following xdoc gets correctly processed (see DOXIA-154):
<script type="text/javascript"> <![CDATA[Javascript code goes here]]> </script>
the CDATA itself is removed, making the xhtml invalid.
Fixed in r779585
Note that in order to be valid xhtml, the whole script block should be written like: