Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-326

Xhtml sink should preserve CDATA within <script>

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            ltheussl Lukas Theussl
            ltheussl Lukas Theussl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: