Skip to content

Commit

Permalink
[update]
Browse files Browse the repository at this point in the history
  • Loading branch information
boke0 committed Mar 6, 2021
1 parent cc65dc5 commit fb7c0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mitama/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def filter_group(arg):
return [group for group in arg if group.__class__.__name__ == "Group"]

def markdown_(text):
return Markup(markdown.markdown(text, extensions=['fenced_code', 'def_list', 'attr_list', 'abbr', 'footnotes', 'tables', 'wikilinks', 'toc']))
return Markup(markdown.markdown(text, extensions=['fenced_code', 'def_list', 'attr_list', 'abbr', 'footnotes', 'tables', 'wikilinks', 'toc', 'nl2br']))

self._view.filters["user"] = filter_user
self._view.filters["group"] = filter_group
Expand Down

0 comments on commit fb7c0ba

Please sign in to comment.