diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-02-10 09:56:21 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-02-10 09:56:21 -0800 |
commit | 01e5df4e38eb36000c28539097eeb620dd2aef67 (patch) | |
tree | b6be796bbb3721cf436459c15309bc9e44582dbb | |
parent | f9565289ff6375218662c9f85b3239b38ee58e8d (diff) |
Removed unnecessary check for empty string_content.
-rw-r--r-- | src/blocks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blocks.c b/src/blocks.c index fdf1106..14f33f8 100644 --- a/src/blocks.c +++ b/src/blocks.c @@ -1048,9 +1048,9 @@ static void S_process_line(cmark_parser *parser, const unsigned char *buffer, // then treat this as a "lazy continuation line" and add it to // the open paragraph. if (parser->current != last_matched_container && - container == last_matched_container && !parser->blank && - parser->current->type == CMARK_NODE_PARAGRAPH && - cmark_strbuf_len(&parser->current->string_content) > 0) { + container == last_matched_container && + !parser->blank && + parser->current->type == CMARK_NODE_PARAGRAPH) { add_line(parser->current, &input, parser); } else { // not a lazy continuation // Finalize any blocks that were not matched and set cur to container: |