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