From 0251885a8d2bfb1ffdfa8b119f937e7b34c8f631 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 16 Jun 2010 22:40:43 -0500 Subject: Fix autoescape in plain text emails Signed-off-by: Dan McGee --- templates/packages/outofdate.txt | 7 ++----- 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: -- cgit v1.2.3-24-g4f1b