summaryrefslogtreecommitdiff
path: root/src/blocks.c
diff options
context:
space:
mode:
authorYuki Izumi <kivikakk@github.com>2017-05-05 18:02:34 +1000
committerJohn MacFarlane <jgm@berkeley.edu>2017-05-05 10:02:34 +0200
commit6313fff5f9482bdc0489dd19bf9c4ff6ed817e71 (patch)
tree7a3b05970662eee284fd70e68d21c49e4fb16e8f /src/blocks.c
parent12501f1000f592ff67cca98b6733f0bfa3115f9f (diff)
Remove normalize as an option per #190 (#194)
Diffstat (limited to 'src/blocks.c')
-rw-r--r--src/blocks.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/blocks.c b/src/blocks.c
index 051d2e8..863f5c6 100644
--- a/src/blocks.c
+++ b/src/blocks.c
@@ -1192,9 +1192,7 @@ cmark_node *cmark_parser_finish(cmark_parser *parser) {
finalize_document(parser);
- if (parser->options & CMARK_OPT_NORMALIZE) {
- cmark_consolidate_text_nodes(parser->root);
- }
+ cmark_consolidate_text_nodes(parser->root);
cmark_strbuf_free(&parser->curline);