Details
-
Bug
-
Resolution: Obsolete
-
Low
-
5.7.3
-
Operating System Linux 3.13.0-24-generic
OS Architecture amd64
Application Server Apache Tomcat/7.0.52
Servlet Version 3.0
Java Version 1.8.0_40
Java Vendor Oracle Corporation
JVM Version 1.8
JVM Vendor Oracle Corporation
JVM Implementation Version 25.40-b25
Java Runtime Java(TM) SE Runtime Environment
Java VM Java HotSpot(TM) 64-Bit Server VMOperating System Linux 3.13.0-24-generic OS Architecture amd64 Application Server Apache Tomcat/7.0.52 Servlet Version 3.0 Java Version 1.8.0_40 Java Vendor Oracle Corporation JVM Version 1.8 JVM Vendor Oracle Corporation JVM Implementation Version 25.40-b25 Java Runtime Java(TM) SE Runtime Environment Java VM Java HotSpot(TM) 64-Bit Server VM
-
Severity 3 - Minor
-
Description
Inserting an expand macro inside another expand macro is working well.
However inserting a collapsible code macro inside an expand macro, does not.
Step to reproduce:
- create a page
- insert an expand macro with a dummy text
- add into this expand macro, a code macro with a dummy text and chek "collapsible" option
- save the page
Then:
- expand the text
- expand the code block
The expand macro then collapses and you have to expand it again to read the content of the code block.
Here is an example page in Confluence storage format:
<ac:structured-macro ac:name="expand"><ac:rich-text-body>
<p>Expand level 1</p><ac:structured-macro ac:name="expand"><ac:rich-text-body>Expand level 2</ac:rich-text-body></ac:structured-macro><ac:structured-macro ac:name="code"><ac:parameter ac:name="language">bash</ac:parameter><ac:parameter ac:name="collapse">true</ac:parameter><ac:plain-text-body><![CDATA[Code expand]]></ac:plain-text-body></ac:structured-macro></ac:rich-text-body></ac:structured-macro>