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

Nested definition list is broken when definition has custom parameters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.1, 2.1 M1
    • 2.0 RC1
    • {Unused} Rendering 2.0
    • None
    • any
    • definition list nested parameter
    • Unit
    • Unknown

    Description

      XHTML input:

      <dl>
        <dt>term1</dt>
        <dd>
          <span style="font-style: normal;">definition1</span>
          <dl>
            <dt>term2</dt>
            <dd>definition2</dd>
          </dl>
        </dd>
      </dl>
      

      XWiki 2.0 output:

      ; term1
      : (% style="font-style: normal;" %)definition1
      (%%):; term2
      :: definition2
      

      which breaks the definition list.

      Note, the right output should be:

      ; term1
      : (% style="font-style: normal;" %)definition1(%%)
      :; term2
      :: definition2
      

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: