allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [19/38] git commit: [#6203] ticket:362 Don't escape changes text in plain text monitoring emails
Date Fri, 21 Jun 2013 21:34:31 GMT
[#6203] ticket:362 Don't escape changes text in plain text monitoring emails


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/efe1b16d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/efe1b16d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/efe1b16d

Branch: refs/heads/cj/6272
Commit: efe1b16d4e7d6581a0a16bf0525d4b4f0e925f3c
Parents: a99d3ec
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Wed Jun 5 10:42:22 2013 +0000
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Mon Jun 17 17:19:06 2013 +0000

----------------------------------------------------------------------
 ForgeTracker/forgetracker/model/ticket.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/efe1b16d/ForgeTracker/forgetracker/model/ticket.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/model/ticket.py b/ForgeTracker/forgetracker/model/ticket.py
index 6ff6d2b..4fbe170 100644
--- a/ForgeTracker/forgetracker/model/ticket.py
+++ b/ForgeTracker/forgetracker/model/ticket.py
@@ -403,7 +403,7 @@ class Globals(MappedClass):
                         c.app.config.options.get('TicketMonitoringType') ==
                         'AllTicketChanges'):
                     visible_changes.append(
-                            (changed_tickets[t_id], changes[t_id]))
+                            (changed_tickets[t_id], jinja2.Markup(changes[t_id])))
             if visible_changes:
                 tmpl_context['data'].update({'changes': visible_changes})
                 mail.update(dict(


Mime
View raw message