Closed mikeando closed 2 years ago
Yes, commonmark.js is correct. But cmark is correct too, at least the version I have:
% build/src/cmark
**a*b*c*
<p>*<em>a<em>b</em>c</em></p>
This is with the current dev version, by the way. I haven't tested other releases, but are you sure your cmark gives this result?
Oh - that's super embarrassing. I had pulled the most recent version but hadn't reset my HEAD to the new branch. So I was testing with a 6-year-old (!) version of cmark. After updating to the right commit it all works fine.
Sorry, and thanks.
Three common-mark parsers parse
**A*B*C*
differently:I think (but could easily be wrong...) that the commonmark.js version is correct due to the reasoning outlined in https://github.com/kivikakk/comrak/issues/217