Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-18025

Add CDATA on inline js content output by ezjscore packer for XHTML support

    XMLWordPrintable

Details

    Description

      Hi.
      In some way related to #018024.

      js content outputed by ezjscore functions should add CDATA to be sure it will pass w3c validator checking, assuming our current dtd used is xhtml 1.0 transitional.

      For instance, jqueryio outputs

      ....
      if ( window.XMLHttpRequest && window.ActiveXObject )
      ...
      

      and those && make validator claims about. quick solution could be adding this cdata thing to the generated code.

      Attachments

        Activity

          People

            andre1 andre1
            desorden desorden
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: