diff --git a/RIGS/templatetags/markdown_tags.py b/RIGS/templatetags/markdown_tags.py index 9abd1054..4b761da2 100644 --- a/RIGS/templatetags/markdown_tags.py +++ b/RIGS/templatetags/markdown_tags.py @@ -12,7 +12,7 @@ def markdown_filter(text, format='html'): # markdown library can't handle text=None if text is None: return text - html = markdown.markdown(text) + html = markdown.markdown(text, extensions=['markdown.extensions.nl2br']) if format == 'html': return mark_safe('
' + html + '
') elif format == 'rml':