Maven Doxia
  1. Maven Doxia
  2. DOXIA-448

Div class attribute replicated to nested h2 element

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: Core, Module - Xdoc
    • Labels:
      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Lukas Theussl
            Reporter:
            Simone Tripodi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development