diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-01-15 09:49:24 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2012-05-01 15:46:31 +0800 |
commit | 18986b7edf33b22e6bf3b4023dfcc12a0c78fb65 (patch) | |
tree | d36629b06a7c3d975189bb6a65b0bb99a9084ee1 | |
parent | 8d0947cab74b46bfa58e46d556fc171cda364f82 (diff) | |
download | patchwork-18986b7e.tar.bz2 patchwork-18986b7e.tar.xz |
notifications: do not HTML-escape patch change notifications
Patch change notifications are text/plain emails and should not
HTML-escape patch names. This means quotes and ampersands in patch
names should not be turned into " and & HTML entities.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r-- | templates/patchwork/patch-change-notification.mail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/patchwork/patch-change-notification.mail b/templates/patchwork/patch-change-notification.mail index d86a6af..19a2a09 100644 --- a/templates/patchwork/patch-change-notification.mail +++ b/templates/patchwork/patch-change-notification.mail @@ -2,7 +2,7 @@ Hello, The following patch{{notifications|length|pluralize:"es"}} (submitted by you) {{notifications|length|pluralize:"has,have"}} been updated in patchwork: {% for notification in notifications %} - * {{notification.patch.name}} + * {{notification.patch.name|safe}} - http://{{site.domain}}{{notification.patch.get_absolute_url}} was: {{notification.orig_state}} now: {{notification.patch.state}} |