]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1238987 - Remove the trailing newline when the quoted text in comments is wrapped
authorDavid Lawrence <dkl@mozilla.com>
Tue, 12 Jan 2016 17:02:12 +0000 (17:02 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Tue, 12 Jan 2016 17:02:12 +0000 (17:02 +0000)
r=LpSolit

Bugzilla/Util.pm

index c28c0d05dfd93b342a60747aecaa0381ef17063e..4718efc88e298af13350e8637eafbab378a2314c 100644 (file)
@@ -474,6 +474,7 @@ sub wrap_cite {
         $wrappedcomment .= $line . "\n";
       }
     }
+    chomp($wrappedcomment); # remove extra newline at the end
     return $wrappedcomment;
 }