Commit 1f0e11b9 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 415539: Remove trailing whitespaces from bugmail

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
parent 867c349d
......@@ -86,7 +86,11 @@ sub multiline_sprintf {
# Make any single undef item into ''
@line = map { defined $_ ? $_ : '' } @line;
# And append a formatted line
$formatted .= sprintf("$format\n", @line);
$formatted .= sprintf($format, @line);
# Remove trailing spaces, or they become lots of =20's in
# quoted-printable emails.
$formatted =~ s/\s+$//;
$formatted .= "\n";
}
return $formatted;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment