kivikakk / comrak

CommonMark + GFM compatible Markdown parser and renderer

Home Page:https://hrzn.ee/kivikakk/comrak

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Different output from cmark

ttakuru88 opened this issue · comments

Hi. I've noticed that comrak behaves different from cmark.
Which behavior is correct?

Markdown

<span style="color:red;">**(ABC)**</span>

cmark 0.30.3

<p><!-- raw HTML omitted --><strong>(ABC)</strong><!-- raw HTML omitted --></p>

comrak 0.18.0

<p><!-- raw HTML omitted -->**(ABC)**<!-- raw HTML omitted --></p>

I hope cmark is correct.


Similar pattern.

Markdown

**(1)**=

cmark

<p><strong>(1)</strong>=</p>

comrak

<p>**(1)**=</p>

cmark is indeed correct.