Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3472

HTML Macro breaks unprotected javascript

    XMLWordPrintable

Details

    • Unit

    Description

      THe following code

      {{html wiki="false"}}
      <script>
      var a = 1;
      if (a>0)
       alert(a);
      </script>
      {{/html}}
      

      Makes a JS error because > is converted. Scripts should be keps as is

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: