diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-01-03 22:08:38 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-01-03 22:08:38 -0800 |
commit | 60b6962db0b0488667180e11cc6cfb1cec1b41ea (patch) | |
tree | 9f3d399e48b781b5e363b47a2aa04e2b758e331c /src/cmark.c | |
parent | cc50a3aba3e34dc58ca819a65b907871e2ea6fd9 (diff) |
Revert "Change types for source map offsets (#174)"
This reverts commit 4fbe344df43ed7f60a3d3a53981088334cb709fc.
Diffstat (limited to 'src/cmark.c')
-rw-r--r-- | src/cmark.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmark.c b/src/cmark.c index da93abe..2ef6cb4 100644 --- a/src/cmark.c +++ b/src/cmark.c @@ -36,9 +36,6 @@ char *cmark_markdown_to_html(const char *text, size_t len, int options) { char *result; doc = cmark_parse_document(text, len, options); - if (doc == NULL) { - return NULL; - } result = cmark_render_html(doc, options); cmark_node_free(doc); |