-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
Description
I created a minimal_repro.odt using LibreOffice Writer (attached here) that contains bold and italic text.
Here is a preview. I have added a red box around the characters to which I applied the styles.
I converted the file to markdown with this command
pandoc minimal_repro.odt -o output.mdAnd I got the following output
This will be **bolded** correctly
This will be **bolded **incorrectly
This will be *italicized* correctly
This will be *italicized *incorrectlyThis is incorrect. According to the markdown spec, this is not valid emphasised text.
The correct output should be:
This will be **bolded** correctly
This will be **bolded** incorrectly
This will be *italicized* correctly
This will be *italicized* incorrectlyI used the pandoc/core:3.6.3 docker image
pandoc 3.6.3
Features: +server +lua
Scripting engine: Lua 5.4
Sidenote: this could possibly be a bug with .docx files as well, however I am not able to test it.
This is probably related to 1709
Reactions are currently unavailable
