Commonmark & gfm parsing difference for links + raw HTML #9406
-
Hi. I am using pandoc to convert markdown to html. For the following lines: aaabbb
aaa<span></span>bbb
[link](https://baidu.com)aaabbb
[link](https://baidu.com)aaa<span></span>bbb When the source language is <p>aaabbb</p>
<p>aaa<span></span>bbb</p>
<p><a href="https://baidu.com">link</a>aaabbb</p>
<p><a href="https://baidu.com">link</a>aaa<span></span>bbb</p> However, when the source language is <p>aaabbb</p>
<p>aaa<span></span>bbb</p>
<p><a href="https://baidu.com">link</a>aaabbb</p>
<p><a
href="https://baidu.com">link</a>aaa<span></span>bbb</p> I have read the specs and couldn't find any difference for links & raw HTML. Is this a bug in Pandoc? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Here's what I'm seeing (latest pandoc release):
That looks fine! What version of pandoc are you using? |
Beta Was this translation helpful? Give feedback.
-
See |
Beta Was this translation helpful? Give feedback.
See
#9416jgm/commonmark-hs#147