Skip to content

Commit

Permalink
Merge pull request #28 from nikolas/commonmark-0.6.0
Browse files Browse the repository at this point in the history
Add compatibility with commonmark-0.6.0
  • Loading branch information
nikolas committed Jan 7, 2016
2 parents cb91550 + a03c680 commit 6d84bf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions django_markwhat/templatetags/markup.py
Expand Up @@ -90,8 +90,8 @@ def commonmark(value):
"""
import CommonMark

parser = CommonMark.DocParser()
renderer = CommonMark.HTMLRenderer()
parser = CommonMark.Parser()
renderer = CommonMark.HtmlRenderer()
ast = parser.parse(force_text(value))
return mark_safe(
force_text(renderer.render(ast))
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
@@ -1,7 +1,7 @@
-r ../requirements.txt

Markdown==2.6.2
CommonMark==0.5.4
CommonMark==0.6.1
textile==2.2.2
docutils==0.12
flake8==2.4.1

0 comments on commit 6d84bf8

Please sign in to comment.