Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-448

Div class attribute replicated to nested h2 element

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3
    • Core, Module - Xdoc
    • None

    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.

      Attachments

        Activity

          People

            ltheussl Lukas Theussl
            simone.tripodi Simone Tripodi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: