diff options
author | mkanat%bugzilla.org <> | 2009-11-01 21:12:26 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-11-01 21:12:26 +0100 |
commit | 81ee29e716aa161a9a53301239ae19a39baec482 (patch) | |
tree | 1410162afc43162ad585e61d0fe826799a62da9d /Bugzilla | |
parent | 608b923a384298be20caae4ed22c0364db0f67f6 (diff) | |
download | bugzilla-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.pm | 1 |
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; } |