diff options
author | Dan McGee <dan@archlinux.org> | 2010-06-17 05:40:43 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-06-17 05:40:43 +0200 |
commit | 0251885a8d2bfb1ffdfa8b119f937e7b34c8f631 (patch) | |
tree | 9a79493b2e515680a9a61f10f6959b5bffecddde | |
parent | b3059dd3e871de3bc34fa3ee7ab9730c034f22df (diff) | |
download | archweb-0251885a8d2bfb1ffdfa8b119f937e7b34c8f631.tar.gz archweb-0251885a8d2bfb1ffdfa8b119f937e7b34c8f631.tar.xz |
Fix autoescape in plain text emails
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | templates/packages/outofdate.txt | 7 | ||||
-rw-r--r-- | templates/todolists/email_notification.txt | 3 |
2 files changed, 3 insertions, 7 deletions
diff --git a/templates/packages/outofdate.txt b/templates/packages/outofdate.txt index abe3a73..26ab804 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 24fded5..ce0a730 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: |