Skip to content
Permalink
Browse files
Make it work with CommonMark 0.7.2
  • Loading branch information
ralsina committed Sep 24, 2016
1 parent 6478bac commit abadf8ab17f7c9af65b20ca2c9ede40891135d31
Showing with 2 additions and 2 deletions.
  1. +2 −2 v7/commonmark/commonmark.py
@@ -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:

0 comments on commit abadf8a

Please sign in to comment.