-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Org-mode uses the zero width space U+200B
as an escape character, documentation here. This means that when we convert org-mode to pandoc, the following org-mode input
/emph/asis.
/emph/asis in/correct/.
/try///except///else///finally/
/try///except//else//finally/
(again but with zero width spaces replaced with X
for clarity),
/emph/Xasis.
/emph/Xasis inX/correct/.
/try/X/X/except/X/X/else/X/X/finally/
/try/X/X/except/X/else/X/finally/
should be rendered as
para (emph "emph" <> "Xasis")
para (emph "emph" <> "Xasis" <> space <> "inX" <> emph "correct")
para (emph "try" <> "X/X" <> emph "except" <> "X/X" <> emph "else" <> "X/X" <> emph "finally")
para (emph "try" <> "X/X" <> emph "except" <> "X" <> emph "else" <> "X" <> emph "finally")
however it is currently rendered as
para "/emph/Xasis"
para (emph "/emph/Xasis inXcorrect")
para (emph "/try/X/X/except/X/X/else/X/X/finally/")
para (emph "/try/X/X/except/X/else/X/finally/")
This problem appears to be related to #6070 and #7135. #8059 did not solve this issue.
Pandoc version
pandoc 3.0.1 and pandoc 3.1.1