DOCX reader with docx+styles
generate warning on commends
#10571
Labels
docx+styles
generate warning on commends
#10571
Explain the problem.
When using the DOCX-reader with comments included, the extension
+styles
creates warnings with every comment:Converting without the styles-extension, no warning is given:
Pandoc version?
3.6.2
Looking at the source::
pandoc/src/Text/Pandoc/Readers/Docx.hs
Lines 358 to 366 in 220dde4
only
Para
andPlain
are considered as save block elements.If using
+styles
, all block elements are pretended with aDiv
element, even comment texts.Therefore the fix should be very straightforward:
Example document
custom-reference.docx
The text was updated successfully, but these errors were encountered: