Closed eclbtownsend closed 2 years ago
Curious. I can reproduce with the cmark command line tool:
% build/src/cmark
*text* [link](google.com)
^D
<p>*text* <a href="google.com">link</a></p>
And this is a regression -- I tried with an older version and didn't see this.
Bisecting shows that this bug got introduced with commit ed0a4bf8a0c5ef52e8d70ce032f2429d32debefa (fix for #389). @nwellnhof can you take a look?
The following input produces an incorrect syntax tree:
This produces a tree:
I would expect text to have emphasis tags. It seems to only miss the last set of emphasis before the link. try
"*text* *text2* [link](google.com)"
Version:
"0.30.1"
Platform: Windows, Visual Studio 2017 v15.9.33 config.h: