changeset 397:accfc1fdb88d

Fixing #195; don't escape text in plain text emails.
author Brian Neal <bgneal@gmail.com>
date Fri, 25 Mar 2011 23:59:16 +0000
parents 63e4682d6482
children 701730b2fcda
files gpp/templates/contact/contact_email.txt gpp/templates/forums/topic_notify_email.txt gpp/templates/messages/notification_email.txt
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/templates/contact/contact_email.txt	Fri Mar 25 00:39:17 2011 +0000
+++ b/gpp/templates/contact/contact_email.txt	Fri Mar 25 23:59:16 2011 +0000
@@ -4,5 +4,5 @@
 Sender's Email: {{ user_email }}
 Message:
 
-{{ message }}
+{{ message|safe }}
 
--- a/gpp/templates/forums/topic_notify_email.txt	Fri Mar 25 00:39:17 2011 +0000
+++ b/gpp/templates/forums/topic_notify_email.txt	Fri Mar 25 23:59:16 2011 +0000
@@ -7,9 +7,9 @@
 subscribed to:
 
 ---
-RE: {{ topic_name }}
+RE: {{ topic_name|safe }}
 
-{{ message }}
+{{ message|safe }}
 ---
 
 To view this post on the site, please visit:
--- a/gpp/templates/messages/notification_email.txt	Fri Mar 25 00:39:17 2011 +0000
+++ b/gpp/templates/messages/notification_email.txt	Fri Mar 25 23:59:16 2011 +0000
@@ -5,9 +5,9 @@
 
 -----
 From: {{ msg.sender.username }}
-Subject: {{ msg.subject }}
+Subject: {{ msg.subject|safe }}
 
-{{ msg.message }}
+{{ msg.message|safe }}
 -----
 
 You may reply to this message by visiting the following link: