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 55afb5bae32e30cd5ab70db7089485bdcafaa6c0
parent ebaee39c846435d58b2e65b7c42d74f57dd479e6
Author: Martin Mitas <mity@morous.org>
Date:   Sun, 27 Nov 2016 00:09:50 +0100

Fix typo.

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

diff --git a/md4c/md4c.c b/md4c/md4c.c @@ -3206,7 +3206,7 @@ md_build_img_alt(MD_CTX* ctx, MD_MARK* mark, const MD_LINE* lines, int n_lines, OFF off = beg; CHAR* ptr = buffer; - /* Revive the contents of anny inner image so we include its ALT. */ + /* Revive the contents of any inner image so we include its ALT. */ for(inner_mark = mark; inner_mark < ctx->marks + mark->next; inner_mark++) { if(inner_mark->ch == '!') inner_mark->end = inner_mark->beg + 2;