summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-03-11 19:02:13 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2015-03-11 19:02:13 +0100
commit17d05cc7addbf4288c537f8e56c60e7dee24c6d8 (patch)
tree9d02a4d04be55eb2fc738b58b0a825f51a1194da /Bugzilla
parente7526caf7802734ca54ee907e8a2cecf61013b25 (diff)
downloadbugzilla-17d05cc7addbf4288c537f8e56c60e7dee24c6d8.tar.gz
bugzilla-17d05cc7addbf4288c537f8e56c60e7dee24c6d8.tar.xz
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')
-rw-r--r--Bugzilla/Template.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 3f3d5f399..1b6b48205 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -806,14 +806,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 %