aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-12-11 14:44:44 +0000
committerMatthew Somerville <matthew@mysociety.org>2019-12-11 14:44:44 +0000
commitf9c5f6d8162dc073cb3ec066460343df9ba7c8ba (patch)
treee325f974f61614b635cbeddbc7203ef59e3f6037
parent25e2c47f1b117555c36efe8ae2f6e51b4d43e782 (diff)
Mark item_action as safe in shortlist.
-rw-r--r--templates/web/base/report/_item.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/report/_item.html b/templates/web/base/report/_item.html
index 8f6cbcf9f..4d74b3be9 100644
--- a/templates/web/base/report/_item.html
+++ b/templates/web/base/report/_item.html
@@ -22,7 +22,7 @@
[% IF shortlist %]
[% item_extra_class = "item-list__item--indented item-list__item--act-and-sort" %]
[% item_action = BLOCK %]
- [% item_action %]
+ [% item_action | safe %]
<input type="submit" name="shortlist-up" value="[% loc('Up one') %]" title="[% loc('Up one') %]" class="item-list__item__shortlist-up" [% IF loop.first %]disabled[% END %]>
<input type="submit" name="shortlist-down" value="[% loc('Down one') %]" title="[% loc('Down one') %]" class="item-list__item__shortlist-down" [% IF loop.last %]disabled[% END %]>
[% END %]