Skip to content
Snippets Groups Projects
Unverified Commit df8b4894 authored by psy's avatar psy Committed by GitHub
Browse files

Merge pull request #12 from spahan/fix_newlines

fix nl2br
parents 509b7f2e fa412abd
No related branches found
No related tags found
No related merge requests found
......@@ -380,7 +380,7 @@ def format_datetime(value):
return babel.dates.format_datetime(value, format)
_paragraph_re = re.compile(r'(?:\r\n|\r|\n){2,}')
_paragraph_re = re.compile(r'(?:\r\n|\r|\n)')
@evalcontextfilter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment