Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.3
-
Component/s: Core, Module - Xdoc
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
while generating the Apache DirectMemory site using the xdoc format, I noticed that for every <section> element, if class attribute is specified, it is replicated to the nested <h2> element.
For example, for
<section name="Apache DirectMemory" class="hero-unit"> <p>Apache DirectMemory is a multi layered cache implementation featuring off-heap memory management (a-la BigMemory) to enable efficient handling of a large number of java objects without affecting jvm garbage collection performance.</p> </section>
Has been rendered as
<div class="hero-unit"> <h2 class="hero-unit">Apache DirectMemory<a name="Apache_DirectMemory"></a></h2> <p>Apache DirectMemory is a multi layered cache implementation featuring off-heap memory management (a-la BigMemory) to enable efficient handling of a large number of java objects without affecting jvm garbage collection performance.</p> </div>
Of course, depending on the skin, it could cause undesired effects.