diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-03-15 16:41:59 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-03-15 16:41:59 -0700 |
commit | 294880e0118e27c97f26beaaa81a79de23f80727 (patch) | |
tree | d71a10d5758926e7fd6126976ef496c7645cf07c /api_test/cplusplus.cpp | |
parent | cc78b3e9e2c05201469356730c60f6bf3d073232 (diff) |
Added options parameter to cmark_markdown_to_html.
Diffstat (limited to 'api_test/cplusplus.cpp')
-rw-r--r-- | api_test/cplusplus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api_test/cplusplus.cpp b/api_test/cplusplus.cpp index b6228a3..5e8f722 100644 --- a/api_test/cplusplus.cpp +++ b/api_test/cplusplus.cpp @@ -8,7 +8,7 @@ void test_cplusplus(test_batch_runner *runner) { static const char md[] = "paragraph\n"; - char *html = cmark_markdown_to_html(md, sizeof(md) - 1); + char *html = cmark_markdown_to_html(md, sizeof(md) - 1, CMARK_OPT_DEFAULT); STR_EQ(runner, html, "<p>paragraph</p>\n", "libcmark works with C++"); free(html); } |