Skip to content

Commit

Permalink
Switch to newer mistune
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Jul 15, 2016
1 parent 8ccb739 commit fda3a09
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ Changelog

These are all the changes in Lektor since the first public release.

=======
3.0
---

- Switch to newer mistune (markdown parser).

2.4
---

Expand Down
6 changes: 5 additions & 1 deletion lektor/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ def image(self, src, title, text):
class MarkdownConfig(object):

def __init__(self):
self.options = {}
self.options = {
'escape': False,
'parse_block_html': True,
'parse_inline_html': True,
}
self.renderer_base = ImprovedRenderer
self.renderer_mixins = []

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='Lektor',
version='2.3',
version='3.0',
url='http://github.com/lektor/lektor/',
description='A static content management system.',
license='BSD',
Expand All @@ -17,7 +17,7 @@
'Jinja2>=2.4',
'click>=6.0',
'watchdog',
'mistune',
'mistune>=0.7.0',
'Flask',
'EXIFRead',
'inifile',
Expand Down

0 comments on commit fda3a09

Please sign in to comment.