You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the headlines contain task status labels like TODO or DONE, the labels affect parsing of following inline elements if only one space exists. For example, in the following codes, the first line has only one space after DONE and the second line has two spaces after DONE. Emacs can parse /italic/ correctly for both lines, however, Pandoc cannot recognize /italic/ in the first line and it only parses the second line correctly.
Org code:
** DONE /italic/ one space
** DONE /italic/ two spaces
Emacs output:
<divid="outline-container-org80d58ab" class="outline-2"><h2id="org80d58ab"><spanclass="section-number-2">1</span><spanclass="done DONE">DONE</span><i>italic</i> one space</h2></div><divid="outline-container-org99010cd" class="outline-2"><h2id="org99010cd"><spanclass="section-number-2">2</span><spanclass="done DONE">DONE</span><i>italic</i> two spaces</h2></div>
Pandoc output:
<h2id="italic-one-space"><spanclass="done DONE">DONE</span> /italic/ one space</h2><h2id="italic-two-spaces"><spanclass="done DONE">DONE</span><em>italic</em> two spaces</h2>
The text was updated successfully, but these errors were encountered:
When the headlines contain task status labels like
TODO
orDONE
, the labels affect parsing of following inline elements if only one space exists. For example, in the following codes, the first line has only one space afterDONE
and the second line has two spaces afterDONE
. Emacs can parse/italic/
correctly for both lines, however, Pandoc cannot recognize/italic/
in the first line and it only parses the second line correctly.Org code:
Emacs output:
Pandoc output:
The text was updated successfully, but these errors were encountered: