Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
1
-
Severity 3 - Minor
-
Description
Steps to Reproduce
- Open the page editor
- Insert Code Block macro
- Enter only two characters
- Publish
Expected Results
The characters in the macro are shown
Actual Results
The macro seems empty. Here is a sample with code block macros containing one, two, three char(s).
Notes
Storage format is like the followings, doesn't seem to strange.
<p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="d556fd1f-b732-4e7b-aa69-52115ddeddb3"><ac:plain-text-body><![CDATA[a]]></ac:plain-text-body></ac:structured-macro> <p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="5e6a4a73-b3e8-44b4-bdd9-6ecc7f1b511c"><ac:plain-text-body><![CDATA[ab]]></ac:plain-text-body></ac:structured-macro> <p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="185accb0-dbcd-4959-b1c5-1531fe9cb1b6"><ac:plain-text-body><![CDATA[abc]]></ac:plain-text-body></ac:structured-macro>
Workaround
If possible, use preformatted text with panel macro(if needed)