There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-e5890b93-0e9e-4e80-aa4b-cb060266c47d XWIKI-23515 Open

When exporting to .ODT, text that is both bold and italic is not exported correctly

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-2d0c2ff6-14d5-40d0-a4db-c5b8635becd9 Michael Hamann on 06/Nov/25 17:38
 

I can reproduce the problem. What I've tested so far:

  • The HTML we pass to JODConverter contains the bold and italic formatting.
  • Opening the plain HTML file with LibreOffice shows the bold and italic formatting.
  • Running libreoffice --headless --convert-to odt export.html breaks the bold and italic formatting.
  • I've reproduced this also with a minimal example. When strong and em are nested, we're always losing the outer one, the inner one is kept by LibreOffice.

I found that this is in fact a known bug of LibreOffice: https://bugs.documentfoundation.org/show_bug.cgi?id=99737