md4c

C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.
git clone https://noulin.net/git/md4c.git
Log | Files | Refs | README | LICENSE

commit 77d5eee788ba27fb06ddadf727df2c1b58346737
parent 9f1c4b580df2a11e37b093cec4fa18fcfe82c956
Author: Martin Mitas <mity@morous.org>
Date:   Mon, 21 Nov 2016 10:33:52 +0100

md_is_setext_underline: On succeess, update p_end to save caller some work.

Diffstat:
Mmd4c/md4c.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/md4c/md4c.c b/md4c/md4c.c @@ -3931,6 +3931,7 @@ md_is_setext_underline(MD_CTX* ctx, OFF beg, OFF* p_end, unsigned* p_level) return FALSE; *p_level = (CH(beg) == _T('=') ? 1 : 2); + *p_end = off; return TRUE; }