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

        Simone Tripodi created issue -
        Lukas Theussl made changes -
        Field Original Value New Value
        Component/s Core [ 11998 ]
        Assignee Lukas Theussl [ lukas ]
        Lukas Theussl made changes -
        Fix Version/s 1.3 [ 17336 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:30:24 UTC 2015 [ 1428226224715 ]
        Mark Thomas made changes -
        Workflow jira [ 12719859 ] Default workflow, editable Closed status [ 12748545 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 23:17:25 UTC 2015 [ 1428275845026 ]
        Mark Thomas made changes -
        Workflow jira [ 12957001 ] Default workflow, editable Closed status [ 12993998 ]
        Mark Thomas made changes -
        Assignee Lukas JOSEFIK [ lukas ] Lukas Theussl [ ltheussl ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development