summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-11-01 21:12:26 +0100
committermkanat%bugzilla.org <>2009-11-01 21:12:26 +0100
commit81ee29e716aa161a9a53301239ae19a39baec482 (patch)
tree1410162afc43162ad585e61d0fe826799a62da9d /Bugzilla
parent608b923a384298be20caae4ed22c0364db0f67f6 (diff)
downloadbugzilla-81ee29e716aa161a9a53301239ae19a39baec482.tar.gz
bugzilla-81ee29e716aa161a9a53301239ae19a39baec482.tar.xz
Bug 524891: Make leading whitespace not be trimmed from comments on display.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Bug.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 456f77c9f..14fe20c02 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -3096,6 +3096,7 @@ sub format_comment {
$template->process("bug/format_comment.txt.tmpl", $vars, \$body)
|| ThrowTemplateError($template->error());
+ $body =~ s/^X//;
return $body;
}