From 610eaab1f88799c9f76219004b2f2bd6b9f97a42 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 19 Sep 2016 09:37:55 +0100 Subject: [PATCH] Add more markdown to the example email We have a route at /_email for testing the email template. This commit adds: - ordered lists - a URL And it fixes: - the unordered list (markdown requires two line break before starting a list) This is so that we can test how these features look locally without having to send an email. --- app/main/views/index.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/main/views/index.py b/app/main/views/index.py index 569d716c8..47b675c27 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -63,8 +63,8 @@ def email_template(): '\n\n' 'It has ' 'survived not only' - '\n' - '*five centuries' + '\n\n' + '* five centuries' '\n' '* but also the leap into electronic typesetting' '\n\n' @@ -81,7 +81,15 @@ def email_template(): 'normal distribution of letters, as opposed to using ‘Content ' 'here, content here’, making it look like readable English.' '\n\n\n' + '1. One' + '\n' + '2. Two' + '\n' + '10. Three' + '\n\n' 'This is an example of an email sent using GOV.UK Notify.' + '\n\n' + 'https://www.notifications.service.gov.uk' )