Div class attribute replicated to nested h2 element
---------------------------------------------------

                 Key: DOXIA-448
                 URL: https://jira.codehaus.org/browse/DOXIA-448
             Project: Maven Doxia
          Issue Type: Bug
          Components: Module - Xdoc
            Reporter: Simone Tripodi


while generating the [Apache DirectMemory 
site|http://incubator.apache.org/directmemory/] 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

{code}
   <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>
{code}

Has been rendered as

{code}
   <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>
{code}

Of course, depending on the skin, it could cause undesired effects.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to