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 d65d95f0c582168f5d8fa3e8f5cff90a4a4e25b2
parent e950096b53fcdbbf25f193cf38ee14d93fe1442e
Author: Martin Mitas <mity@morous.org>
Date:   Sat,  8 Oct 2016 21:31:09 +0200

Remove bogus duplicated piece of code.

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

diff --git a/md4c/md4c.c b/md4c/md4c.c @@ -1553,17 +1553,6 @@ redo_indentation_after_blockquote_mark: goto done; } - /* Check whether we are indented code line. - * Note indented code block cannot interrupt paragraph. - * Keep this is as the first check after the blank line: The checks below - * then do not need to verify that indentation < 4. */ - if((pivot_line->type == MD_LINE_BLANK || pivot_line->type == MD_LINE_INDENTEDCODE) - && line->indent >= ctx->code_indent_offset) { - line->type = MD_LINE_INDENTEDCODE; - line->indent -= ctx->code_indent_offset; - goto done; - } - /* Check whether we are ATX header. * (We check the indentation to fix http://spec.commonmark.org/0.26/#example-40) */ if(line->indent < 4 && CH(off) == _T('#')) {