-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 10.2.19, 11.0.1
-
Component/s: Content - Page
-
1
-
Severity 3 - Minor
-
RtB - Service ops & Tech entropy
Issue Summary
In Confluence 10.2 and above, content inside nested user macros can disappear from the rendered page when the outer macro’s body ends with a paragraph that has a class attribute, such as auto-cursor-target. The content is not altered and remains present in page’s storage format.
Steps to Reproduce
- Create three user macros:
- outerdiv | rendered | <div>$body</div>
- innerdiv | rendered | <div><p>Inner text</p>$body</div>
- innerempty | no macro body | ---
- Create a page with the following structure:
-
- outerdiv
- innerdiv
└── paragraph containing text - paragraph with class="auto-cursor-target"
└── innerempty
- innerdiv
- outerdiv
- Save and view the page
Expected Results
The page displays the text and body content from innerdiv, followed by ---.
Actual Results
The page displays only ---. The preceding innerdiv content is absent from the rendered HTML, although it remains in saved storage.
Workaround
Adding a non-empty ordinary paragraph after the final macro-containing paragraph, still inside outerdiv, preserves the preceding content.
- is caused by
-
CONFSERVER-96158 Adding a simple user macro with a body is shown as BLOCK by default instead of INLINE.
-
- Closed
-
- mentioned in
-
Page Loading...