From 81ee29e716aa161a9a53301239ae19a39baec482 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sun, 1 Nov 2009 20:12:26 +0000 Subject: Bug 524891: Make leading whitespace not be trimmed from comments on display. Patch by Max Kanat-Alexander r=LpSolit, a=mkanat --- Bugzilla/Bug.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla') 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; } -- cgit v1.2.3-24-g4f1b