From a93eaca903e47d7982ad1c7a8dd6c59a7af06d47 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Thu, 3 Dec 2020 16:24:52 +0000 Subject: [PATCH] Correctly format links in email templates This commit fixes the formatting of links in the sample template emails --- emails/sample/new-query/html.pug | 4 ++-- emails/sample/updated-query/html.pug | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/emails/sample/new-query/html.pug b/emails/sample/new-query/html.pug index 908e0fe..3397e17 100644 --- a/emails/sample/new-query/html.pug +++ b/emails/sample/new-query/html.pug @@ -6,6 +6,6 @@ ul each query in queries li if query.query.messageCount !== 1 - a(href="#{query.url}") #{query.query.title}: #{query.query.messageCount} new messages - #{query.url} + a(href=`${query.url}`) #{query.query.title}: #{query.query.messageCount} new messages - #{query.url} else - a(href="#{query.url}") #{query.query.title}: #{query.query.messageCount} new message - #{query.url} \ No newline at end of file + a(href=`${query.url}`) #{query.query.title}: #{query.query.messageCount} new message - #{query.url} \ No newline at end of file diff --git a/emails/sample/updated-query/html.pug b/emails/sample/updated-query/html.pug index 5831e7f..e71bf63 100644 --- a/emails/sample/updated-query/html.pug +++ b/emails/sample/updated-query/html.pug @@ -6,6 +6,6 @@ ul each query in queries li if query.query.messageCount !== 1 - a(href="#{query.url}") #{query.query.title}: #{query.query.messageCount} new messages - #{query.url} + a(href=`${query.url}`) #{query.query.title}: #{query.query.messageCount} new messages - #{query.url} else - a(href="#{query.url}") #{query.query.title}: #{query.query.messageCount} new message - #{query.url} \ No newline at end of file + a(href=`${query.url}`) #{query.query.title}: #{query.query.messageCount} new message - #{query.url} \ No newline at end of file