-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
8.5.14, 8.5.15, 9.4.0, 9.2.6
-
None
-
3
-
Severity 3 - Minor
-
Problem
Nested lists under specific usage of classes are not indenting incorrectly.
Environment
Reproduced in Confluence Data Center 8.5.15, 8.5.14
Steps to Reproduce
- Create a New Confluence Page
- With Confluence Source Editor edit the page and apply the xml markup below
<ul> <li> <ac:link> <ri:page ri:content-title="Sample Top"/> <ac:plain-text-link-body><![CDATA[Sample Top]]></ac:plain-text-link-body> </ac:link> <ul> <li> <ac:link> <ri:page ri:content-title="Sample Above"/> <ac:plain-text-link-body><![CDATA[Sample Above]]></ac:plain-text-link-body> </ac:link> <ul> <li> <span class="plugin_pagetree_children_span">Sample Above</span> </li> <li> <span class="plugin_pagetree_children_span">Sample Above</span> </li> </ul> </li> <li> <span class="plugin_pagetree_children_span"> <ac:link> <ri:page ri:content-title="sample"/> <ac:plain-text-link-body><![CDATA[Sample]]></ac:plain-text-link-body> </ac:link> </span> <ul> <li>Sample 1</li> <li>Sample 2</li> <li>Sample 3</li> </ul> </li> <li> <ac:link> <ri:page ri:content-title="sample below"/> <ac:plain-text-link-body><![CDATA[sample below]]></ac:plain-text-link-body> </ac:link> <ul> <li>Sample Below 1</li> <li>Sample Below 2</li> <li>Sample Below 3</li> </ul> </li> </ul> </li> </ul>
- Apply the change: notice how the display in Edit mode works well
- Update the change and notice how the display in View mode is now broken
Expected Results
The operation should render the list correctly
Actual Results
The indentation is broken as per screenshot above
Workaround
From unit testing, the problem can especially appear when manually copying a list of pages coming from the Page Tree Macro into a new page.
It appears removing the classes from the span e.g
- Install Confluence Source Editor plugin
- Edit the problematic page
- Access the Confluence Source Editor icon in the top right corner of the Page Edition <>
- Replace occurrences of <span class="plugin_pagetree_children_span">
- by <span>
- Apply the change and Update the Page
The display now works back again
Notes
N/A