Details
-
Bug
-
Resolution: Fixed
-
Low
-
8.2.0, 8.0.4, 8.1.1
-
3
-
Severity 3 - Minor
-
1
-
Description
Issue Summary
Plain Text type Macros cannot contain CDATA end sequence
Steps to Reproduce
- Create Code macro
- Enter:
]]>
- 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
Attachments
Issue Links
- causes
-
CONFSERVER-81553 XHTML stored in macro with CDATA causes XMLStreamException
- Closed
- is duplicated by
-
CONFSERVER-82796 Some code patterns throw 400 error on code block macro while saving in 8.1.1
- Closed
- resolves
-
CONFSERVER-87708 CDATA block has embedded ]]>, throwing error while publish/edit page
- Closed