Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make it work with CommonMark 0.7.2
  • Loading branch information
ralsina committed Sep 24, 2016
1 parent 6478bac commit abadf8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v7/commonmark/commonmark.py
Expand Up @@ -54,8 +54,8 @@ class CompileCommonMark(PageCompiler):
def __init__(self, *args, **kwargs):
super(CompileCommonMark, self).__init__(*args, **kwargs)
if CommonMark is not None:
self.parser = CommonMark.DocParser()
self.renderer = CommonMark.HTMLRenderer()
self.parser = CommonMark.Parser()
self.renderer = CommonMark.HtmlRenderer()

def compile_html(self, source, dest, is_two_file=True):
if CommonMark is None:
Expand Down

0 comments on commit abadf8a

Please sign in to comment.