Created attachment 165317 [details] Testdocument to reproduce the error The XHTMl drops text after a <draw:frame> element, if the <draw:frame> element is anchored 'as character'. <draw:frame> elements are not only text boxes, but images and math objects as well. Open attached file and export it to XHTML. Open the generated file in a browser and compare it with the original file in Writer.
probably need to cherry-pick XSLT fixes from: https://github.com/oasis-tcs/odf-tc/pull/29
is this a fix or a workaround? commit c66994690853445e37c6f66ebd25d130d3430293 Author: Svante Schubert <svante.schubert@gmail.com> AuthorDate: Fri Oct 9 14:08:31 2020 +0200 Commit: Michael Stahl <michael.stahl@allotropia.de> CommitDate: Tue Mar 2 13:25:01 2021 +0100 HTML XSLT: Adding explicitly whitespace - prior been erased in patch - as it is often missing in our LO version used to create the MathML Change-Id: I90468c89297b5f3d70e7ba61cde5481069fc600b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111622 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
This is a "WorksForMe" in version 7.2 alpha1+ (but not in 7.1.3). Version: 7.2.0.0.alpha1+ / LibreOffice Community Build ID: b1c0734ffe0f395757b6e0cea7830d820231afeb CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-05-18_03:16:20 Calc: threaded
This issue got fixed by author Svante Schubert <svante.schubert@gmail.com> 2020-09-09 15:27:54 +0200 committer Michael Stahl <michael.stahl@allotropia.de> 2021-03-02 13:24:15 +0100 commit f680b6d74209fd78c547201b2f14c6547e55c81b (patch) tree 1392dbf48686a0a50ac8c0aef4ddf5b76965d72b parent 86ca384cab26f2731e099c821edfa9636f8b55d5 (diff) HTML XSLT: Adding missing MathML siblings. The floating draw:frame sibling content being text were not shown, nor further occuring draw:frame (other MathML) and author Svante Schubert <svante.schubert@gmail.com> 2020-09-10 16:17:37 +0200 committer Michael Stahl <michael.stahl@allotropia.de> 2021-03-02 13:24:37 +0100 commit 06eb655e2c83df8eeeb0c0828f8ac34f13e386af (patch) tree 92df2949329ef6a1c3a3b68795f81946041d1bc5 parent f680b6d74209fd78c547201b2f14c6547e55c81b (diff) HTML MathML update - enabling inline MATHML & fixing duplication (regression from last commit) Closing as dupe of bug 118637 *** This bug has been marked as a duplicate of bug 118637 ***