Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2812

Lists with internal <p> tags are not rendered properly.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.7 M1
    • Fix Version/s: None
    • Component/s: {Unused} Rendering 2.0
    • Labels:
      None
    • keywords:
      rendering,lists
    • Similar issues:

      Description

      Consider the following xhtml list :

      <ol>
       <li><p class="western">Number1</p>
       </li><li><p class="western">number2</p>
       <ol>
        <li><p class="western">number2.1</p>
       </li></ol>
      </li></ol>
      <ul>
       <li><ul>
        <li><p class="western">b1</p>
        </li><li><p class="western">b2</p>
        <ul>
         <li><p class="western">b22</p>
         </li><li><p class="western">b23</p>
        </li></ul>
        </li><li><p class="western">b3</p>
       </li></ul></li>
      </ul>
      

      1. When this list is directly used in an xhtml 1.0 wiki page, it's not rendered correctly (refer to attachment - Screenshot.png)

      2. When this list is parsed via the xhtml->xwiki 2.0 parser, the generated wiki syntax is not correct, but it corresponds to the output (Screenshot.png).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                asiri Asiri Rathnayake
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: