summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-16 22:40:43 -0500
committerDan McGee <dan@archlinux.org>2010-06-16 22:40:43 -0500
commit0251885a8d2bfb1ffdfa8b119f937e7b34c8f631 (patch)
tree9a79493b2e515680a9a61f10f6959b5bffecddde /templates
parentb3059dd3e871de3bc34fa3ee7ab9730c034f22df (diff)
Fix autoescape in plain text emails
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/outofdate.txt7
-rw-r--r--templates/todolists/email_notification.txt3
2 files changed, 3 insertions, 7 deletions
diff --git a/templates/packages/outofdate.txt b/templates/packages/outofdate.txt
index abe3a738..26ab804c 100644
--- a/templates/packages/outofdate.txt
+++ b/templates/packages/outofdate.txt
@@ -1,8 +1,6 @@
+{% autoescape off %}* Note: this is an automated message
-* Note: this is an automated message
-
-{{ email }} wants to notify you that the following package may be out
-of date:
+{{ email }} wants to notify you that the following package may be out of date:
Package Name: {{ pkg.pkgname }}
Architecture: {{ pkg.arch.name }}
@@ -14,4 +12,3 @@ The user provided the following additional text:
{{ message }}
{% endif %}
-
diff --git a/templates/todolists/email_notification.txt b/templates/todolists/email_notification.txt
index 24fded59..ce0a730d 100644
--- a/templates/todolists/email_notification.txt
+++ b/templates/todolists/email_notification.txt
@@ -1,5 +1,4 @@
-
-* Note: this is an automated message
+{% autoescape off %}* Note: this is an automated message
The following package: