From 2db58cfea492eeba77be6c9ef099c16f0b175388 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 12 Jan 2016 17:02:12 +0000 Subject: Bug 1238987 - Remove the trailing newline when the quoted text in comments is wrapped r=LpSolit --- Bugzilla/Util.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla') diff --git a/Bugzilla/Util.pm b/Bugzilla/Util.pm index c28c0d05d..4718efc88 100644 --- a/Bugzilla/Util.pm +++ b/Bugzilla/Util.pm @@ -474,6 +474,7 @@ sub wrap_cite { $wrappedcomment .= $line . "\n"; } } + chomp($wrappedcomment); # remove extra newline at the end return $wrappedcomment; } -- cgit v1.2.3-24-g4f1b