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

Code macro fails to escape properly in GWT editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2, 1.9 M2
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • Tests:
      Unit, Integration
    • Similar issues:

      Description

      This only happens with the GWT editor, but whenever I enter a code macro containing XML comments, it fails to render it properly. The following snippet fails when edited in the GWT editor (works when edited in the Wiki editor):

      <?xml version="1.0" encoding="UTF-8"?>
      <!-- this is a test -->
      <test>123</test>
      

      This changes the text to:

      <?xml version="1.0" encoding="UTF-8"?>
      <!== this is a test 
      

      Very minor, since it works in the Wiki editor, but good to have...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              orangerd Lewis Denizen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: