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

Office importer can generate a paragraph inside a UL tag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4 M2, 2.3.2
    • 2.2.4
    • Office
    • None
    • Unit
    • Easy

    Description

      The attached word file contains a simple list preceded by an indented paragraph. The generated HTML (styles filtered) is:

      <p><strong>Section title</strong></p>
      <ul>
        <p>The following is a list:</p>
        <li>one</li>
        <li>two</li>
      </ul>
      

      As you can see the UL tag starts with a paragraph which is invalid. The final wiki syntax is:

      **Section title**
      
      * (((
      The following is a list:
      
      * one
      * two
      )))
      

      which is very different than the expected result.

      Attachments

        1. XWIKI-5226.doc
          17 kB
          Marius Dumitru Florea

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: