aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-03-11 19:04:36 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2015-03-11 19:04:36 +0100
commitc26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b (patch)
tree64f3f231f9e04ec1165af6191e5b6cbe6640adc0 /Bugzilla/Template.pm
parent91e07807a8940776557a86134546bc4a7997cd0a (diff)
downloadbugs-c26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b.tar
bugs-c26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b.tar.gz
bugs-c26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b.tar.bz2
bugs-c26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b.tar.xz
bugs-c26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b.zip
Bug 880282: Replace |FILTER no_break| by |class="nowrap"| to prevent dashes (U+002D) from being replaced by non-breaking hyphens/dashes (U+2011)
r=dkl a=justdave
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index f909f5f0d..836bbc7ac 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -833,14 +833,6 @@ sub create {
return $var;
},
- # Prevents line break on hyphens and whitespaces.
- no_break => sub {
- my ($var) = @_;
- $var =~ s/ /\&nbsp;/g;
- $var =~ s/-/\&#8209;/g;
- return $var;
- },
-
xml => \&Bugzilla::Util::xml_quote ,
# This filter is similar to url_quote but used a \ instead of a %