summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-01-12 18:02:12 +0100
committerDavid Lawrence <dkl@mozilla.com>2016-01-12 18:02:12 +0100
commit2db58cfea492eeba77be6c9ef099c16f0b175388 (patch)
tree311ca16b48c7070dd4327d2853c5046c1835db06 /Bugzilla
parent9c29ca8e756983f8ee3676be07af1d342bd140b6 (diff)
downloadbugzilla-2db58cfea492eeba77be6c9ef099c16f0b175388.tar.gz
bugzilla-2db58cfea492eeba77be6c9ef099c16f0b175388.tar.xz
Bug 1238987 - Remove the trailing newline when the quoted text in comments is wrapped
r=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Util.pm1
1 files changed, 1 insertions, 0 deletions
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;
}