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

Code macro fails to escape properly in GWT editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.8.2, 1.9 M2
    • 1.8.1
    • WYSIWYG Editor
    • None
    • Unit, Integration

    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

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

              Dates

                Created:
                Updated:
                Resolved: