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

xdoc renderer chokes on multiple block elements in a section

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-alpha-8
    • Fix Version/s: 1.0-alpha-9
    • Component/s: Core
    • Labels:
      None

      Description

      Consider the following xdoc file:

      <?xml version="1.0" encoding="UTF-8"?>
      <document>
      <properties>
      <title>test1</title>
      </properties>

      <body>
      <section name="section name">
      <p>text</p>
      <ul>
      <li>list1</li>
      </ul>
      <p>text2</p>
      <ul>
      <li>list1</li>
      </ul>
      <p>text3</p>
      </section>
      </body>
      </document>

      The current doxia HEAD renders this to:

      <a name="section name"></a><div class="section"><h2>section name</h2>
      <p>text</p>
      <ul>
      <li>list1</li>
      </ul>
      text2
      <ul>
      <li>list1</li>
      </ul>
      text3
      </div>

      Note the missing '<p>' tags around text2 and text3.

        Attachments

        1. pom_1
          0.7 kB
          Henning Schmiedehausen
        2. pom_2
          1.0 kB
          Henning Schmiedehausen

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hgschmie Henning Schmiedehausen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: