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

Remove unecessary CSS/JS comments around CDATA tags

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 6.1-milestone-2
    • Fix Version/s: 6.1-rc-1, 5.4.6
    • Component/s: XML
    • Labels:
      None
    • Documentation:
      N/A
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved: