lpaulsen93 / dokuwiki-plugin-odt

Exports a page to the Open Document format used by OpenOffice.org and other word processors
http://www.dokuwiki.org/plugin:odt
13 stars 26 forks source link

footnotes in lists break the export #327

Open cjohnsonuk opened 1 month ago

cjohnsonuk commented 1 month ago

If I use this markup

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. ((Nunc egestas lobortis consequat. ))

in my page then I get an error that Libre office and MS word are unable to open the document that is exported.

When I extract the files from the ODT and do a validity check on the XML in content.xml I get

100: 942 The element type "text:p" must be terminated by the matching end-tag "</text:p>".

this position in the file (line 100, column 942) is usually at or around the end of the first title in the file although the markup with the footnote in the list can be much further down the document

This works fine

  - Lorem ipsum dolor sit amet, consectetur adipiscing elit. 

((Nunc egestas lobortis consequat. ))

I'm using the latest ODT plugin as of 2024/10/01 16:18 Release 2024-02-06b "Kaos" Bootstrap vTemplate v2024-02-06 (stable/20240206)

Is this just me?