aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-01-10 18:03:59 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-01-10 18:04:00 +0000
commiteea513cc0ffc4f494f5adec0b8032f661a75a789 (patch)
tree4b516df3e21415a39662949497ccc0bb9a42aa51
parent9bc7db869aba7d6321c89d0a92d9ece8b2b6a21c (diff)
Use non-breaking space char to stop double escape.
-rw-r--r--templates/web/base/alert/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/alert/list.html b/templates/web/base/alert/list.html
index 14215b65d..dbc877a69 100644
--- a/templates/web/base/alert/list.html
+++ b/templates/web/base/alert/list.html
@@ -10,7 +10,7 @@
[% IF pretty_pc %]
[%
- pretty_pc = pretty_pc | html | replace(' ', '&nbsp;');
+ pretty_pc = pretty_pc | replace(' ', ' '); # Non-breaking space
title = tprintf( loc("Local RSS feeds and email alerts for ‘%s’"), pretty_pc );
%]
[% END %]