commonmark / cmark

CommonMark parsing and rendering library and program in C
Other
1.62k stars 539 forks source link

Fix parsing of emphasis before links #425

Closed nwellnhof closed 2 years ago

nwellnhof commented 2 years ago

Fix a regression introduced with commit ed0a4bf. Also test the first delimiter against stack_bottom in process_emphasis. This happened to work with the old code and only resulted in an unnecessary scan.

Fixes #424.

jgm commented 2 years ago

Excellent, thanks.