summaryrefslogtreecommitdiff
path: root/src/cmark.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-15 18:26:35 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-02-15 18:26:35 -0800
commit376f81ab8aa017ab01040e10d393d7682674562d (patch)
treec6a9c8982f76df9afcc42f3822e339701a08f3c6 /src/cmark.c
parent982ba5a528111dbf647e90f412498e315fcf432c (diff)
Added options parameter to cmark_parse_document, cmark_parse_file.
Also to some non-exported functions in blocks and inlines.
Diffstat (limited to 'src/cmark.c')
-rw-r--r--src/cmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmark.c b/src/cmark.c
index 2ec9be9..d6e9278 100644
--- a/src/cmark.c
+++ b/src/cmark.c
@@ -14,7 +14,7 @@ char *cmark_markdown_to_html(const char *text, int len)
cmark_node *doc;
char *result;
- doc = cmark_parse_document(text, len);
+ doc = cmark_parse_document(text, len, CMARK_OPT_DEFAULT);
result = cmark_render_html(doc, CMARK_OPT_DEFAULT);
cmark_node_free(doc);