commonmark / cmark

CommonMark parsing and rendering library and program in C
Other
1.6k stars 534 forks source link

Track underscore bottom separately mod 3, like asterisk #486

Closed notriddle closed 9 months ago

notriddle commented 9 months ago

The reasoning that a failed delimiter means future delimiters will also fail only applies if the reason they failed was not the multiple-of-three rule. This was already implemented correctly for asterisks, but not for underscore.

This PR ports #272 from commonmark.js to cmark.

Fixes #455