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

Doxia generates different XHTML for the same xdoc code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-alpha-8
    • 1.0-alpha-9
    • Core
    • None

    Description

      Consider the following xdoc code:

      <section name="1">
      <subsection name="s1">
      <p>p1</p>
      <ul>
      <li>l1</li>
      </ul>
      </subsection>
      <subsection name="s2">
      <p>p2</p>
      <ul>
      <li>l1</li>
      </ul>
      </subsection>
      </section>

      This renders to the following XHTML code:

      <a name="1"></a><div class="section"><h2>1</h2>
      <a name="s1"></a><div class="section"><h3>s1</h3>
      <p>p1</p>
      <ul><li>l1</li></ul>
      </div>
      <a name="s2"></a><div class="section"><h3>s2</h3>
      p2
      <ul><li>l1</li></ul>
      </div>
      </div>

      Please not the missing <p> </p> around 'p2'.

      Attachments

        Issue Links

          Activity

            People

              siveton Siveton Vincent
              henning Henning Schmiedehausen
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: