# HG changeset patch # User Brian Neal # Date 1301097556 0 # Node ID accfc1fdb88dc1fb3fbdc1bd71983f6d16774ecf # Parent 63e4682d648235661b851735abebf5c9118830f5 Fixing #195; don't escape text in plain text emails. diff -r 63e4682d6482 -r accfc1fdb88d gpp/templates/contact/contact_email.txt --- 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 }} diff -r 63e4682d6482 -r accfc1fdb88d gpp/templates/forums/topic_notify_email.txt --- 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: diff -r 63e4682d6482 -r accfc1fdb88d gpp/templates/messages/notification_email.txt --- 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: