Plain Text type Macros cannot contain CDATA end sequence

XMLWordPrintable

    • 3
    • Severity 3 - Minor
    • 1

      Issue Summary

      Plain Text type Macros cannot contain CDATA end sequence

      Steps to Reproduce

      1. Create Code macro
      2. Enter:
        ]]>
      3. Save page

      Expected Results

      Page saves

      Actual Results

      com.atlassian.confluence.content.render.xhtml.XhtmlException: RuntimeException occurred while transforming editor format to storage format (Unexpected exception writing to stringwriter. java.io.IOException: javax.xml.stream.XMLStreamException: Illegal input: CDATA block has embedded ]]> in it (index 87))
              at com.atlassian.confluence.content.render.xhtml.editor.EditorXhtmlTransformer.transform(EditorXhtmlTransformer.java:58)

      Workaround

      None known

            Assignee:
            Kusal Kithul-Godage
            Reporter:
            Kusal Kithul-Godage
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: