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

xdoc renderer chokes on multiple block elements in a section

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-alpha-8
    • 1.0-alpha-9
    • Core
    • 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
          hgschmie
        2. pom_2
          1.0 kB
          hgschmie

        Activity

          People

            Unassigned Unassigned
            henning Henning Schmiedehausen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: