From 82c0d1e5299d054f83bf5cc8eef9d628c94904b2 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Tue, 11 Dec 2018 18:20:16 +0100 Subject: [PATCH] playing with nl2br pint message --- rowers/emails.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rowers/emails.py b/rowers/emails.py index 4be99e9d..1203a3bd 100644 --- a/rowers/emails.py +++ b/rowers/emails.py @@ -54,6 +54,7 @@ def textify(html): return text_only.replace('\n ', '\n').strip() def newlinetobr(html): + html = html.replace('\n\n','
') return html.replace('\n','
') def send_template_email(from_email,to_email,subject,