From 9c080466a74d62c6635c00733f29db58098c1fcb Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 24 Aug 2017 11:44:43 +0100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20add=20newlines=20to=20DVLA=20ma?= =?UTF-8?q?rkup=20view=20of=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s more confusing than helpful. --- app/main/views/templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/templates.py b/app/main/views/templates.py index 99831f0b8..ed1c9c829 100644 --- a/app/main/views/templates.py +++ b/app/main/views/templates.py @@ -162,7 +162,7 @@ def view_template_as_dvla_markup(service_id, template_id): str(LetterDVLATemplate( template, notification_reference=1, - )).replace('', '\n'), + )), mimetype='text/plain', )