mity / md4c

C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.
MIT License
755 stars 138 forks source link

code spans differ - cmark vs md2html (reprise) #230

Closed step- closed 5 months ago

step- commented 5 months ago

Different output, involving white space in code spans, between cmark 0.30.3-31-g01e572d and md2html master f46000c. This test case completes the tests in #223 and broke somewhere in commit range 65957f5 - 70b247c.

Test subject:

`e
f
`

Diff output: cmark (left) - md2html (right): note "f " vs. "f ".

<p><code>e f </code></p>     |  <p><code>e f  </code></p>