Skip to content

Commit

Permalink
fix display error for module READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelmuller committed Mar 23, 2017
1 parent 2216da2 commit 573d542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/views/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def enable(self, id):
readme = module.get_file('README.md')
if readme:
with open(readme, 'r') as f:
flash(markdown(f.read()), 'persistent')
flash(markdown(f.read(), extras=["code-friendly"]), 'persistent')

return redirect({'module': clean_modules(module)}, url_for('ModulesView:index'))

Expand Down

0 comments on commit 573d542

Please sign in to comment.