From: David Lawrence Date: Tue, 12 Jan 2016 17:02:12 +0000 (+0000) Subject: Bug 1238987 - Remove the trailing newline when the quoted text in comments is wrapped X-Git-Tag: release-5.1.1~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2db58cfea492eeba77be6c9ef099c16f0b175388;p=thirdparty%2Fbugzilla.git Bug 1238987 - Remove the trailing newline when the quoted text in comments is wrapped r=LpSolit --- diff --git a/Bugzilla/Util.pm b/Bugzilla/Util.pm index c28c0d05df..4718efc88e 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; }