Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-611

Remove unecessary CSS/JS comments around CDATA tags

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Invalid
    • Major
    • 6.1-rc-1, 5.4.6
    • 6.1-milestone-2
    • XML
    • None
    • N/A

    Description

      We currently add some comments around CDATA tags:

      <script type="text/javascript">
      // <![CDATA[
      // ]]>
      </script>
      

      According to http://dorward.me.uk/www/comments-cdata/#trumpet, it is needed for old browsers, not listed in http://dev.xwiki.org/xwiki/bin/view/Community/BrowserSupportStrategy.

      Since it also blocks XWIKI-10497, I propose to remove this behaviour (discussion: http://dev.xwiki.org/xwiki/bin/view/IRC/xwikiArchive20140623 at 13:03).

      Attachments

        Activity

          People

            gdelhumeau Guillaume Delhumeau
            gdelhumeau Guillaume Delhumeau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: