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

Centered paragraphs marked as "align='center'" are not correctly converted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 10.8.1
    • Office
    • None
    • Unknown
    • N/A
    • N/A

    Description

      In some cases, LibreOffice converts centered paragraphs to HTML paragraphs with attribute "align='center'", which is indicated as obsolete XHTML, but not invalid. This results into an incorrect XDOM (with respect to the original document).

      Input element: Microsoft Word document with centered paragraph containing image or text.

      Generated HTML example:

      <p align="center">
          Lorem ipsum.
      </p>
      

      Actual XWiki result:

      Lorem ipsum.
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            slauriere slauriere
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: