summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-03-21 14:34:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-03-21 17:28:09 -0700
commit3d46c2b594c1230cebb89c48c86b8a80aee43553 (patch)
tree52ca4ca85f291917d74a69087fbe40fd7fa932f8
parent39ae2629ff9f343669a24cb22890fb5b6645a4ab (diff)
test/cmark.py: set default options for markdown_to_html.
-rw-r--r--test/cmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cmark.py b/test/cmark.py
index 253e3a8..40e8c22 100644
--- a/test/cmark.py
+++ b/test/cmark.py
@@ -13,7 +13,7 @@ def pipe_through_prog(prog, text):
def use_library(lib, text):
textbytes = text.encode('utf-8')
textlen = len(textbytes)
- return [0, lib(textbytes, textlen).decode('utf-8'), '']
+ return [0, lib(textbytes, textlen, 0).decode('utf-8'), '']
class CMark:
def __init__(self, prog=None, library_dir=None):