diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2015-03-11 19:04:36 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2015-03-11 19:04:36 +0100 |
commit | c26e64e4f13bb7e6d29ab2b1f27bbe26ff048e8b (patch) | |
tree | 64f3f231f9e04ec1165af6191e5b6cbe6640adc0 /Bugzilla/Template.pm | |
parent | 91e07807a8940776557a86134546bc4a7997cd0a (diff) | |
download | bugs-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.pm | 8 |
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/ /\ /g; - $var =~ s/-/\‑/g; - return $var; - }, - xml => \&Bugzilla::Util::xml_quote , # This filter is similar to url_quote but used a \ instead of a % |