From 17d05cc7addbf4288c537f8e56c60e7dee24c6d8 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 11 Mar 2015 19:02:13 +0100 Subject: 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 --- Bugzilla/Template.pm | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Bugzilla/Template.pm') 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 % -- cgit v1.2.3-24-g4f1b