aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-11-01 20:12:26 +0000
committermkanat%bugzilla.org <>2009-11-01 20:12:26 +0000
commit81ee29e716aa161a9a53301239ae19a39baec482 (patch)
tree1410162afc43162ad585e61d0fe826799a62da9d /Bugzilla
parent608b923a384298be20caae4ed22c0364db0f67f6 (diff)
downloadbugs-81ee29e716aa161a9a53301239ae19a39baec482.tar
bugs-81ee29e716aa161a9a53301239ae19a39baec482.tar.gz
bugs-81ee29e716aa161a9a53301239ae19a39baec482.tar.bz2
bugs-81ee29e716aa161a9a53301239ae19a39baec482.tar.xz
bugs-81ee29e716aa161a9a53301239ae19a39baec482.zip
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;
}