diff options
Diffstat (limited to 'src/blocks.c')
-rw-r--r-- | src/blocks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/blocks.c b/src/blocks.c index 8ca10b9..ebef88b 100644 --- a/src/blocks.c +++ b/src/blocks.c @@ -201,8 +201,7 @@ static void finalize(cmark_parser *parser, cmark_node* b, int line_number) strbuf_drop(&b->string_content, pos); } if (is_blank(&b->string_content, 0)) { - // remove blank node (former reference def) - cmark_node_free(b); + b->type = NODE_REFERENCE_DEF; } break; |