]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/bugreport.cgi
merge changes from dla source tree
[debbugs.git] / cgi / bugreport.cgi
index 24b51e49306cfba4071942a96027aba85c87e1f9..64547d40a1eceaeb51daa521002b93113c3f1223 100755 (executable)
@@ -11,7 +11,7 @@ use IO::File;
 use Debbugs::Config qw(:globals :text);
 
 # for read_log_records
-use Debbugs::Log;
+use Debbugs::Log qw(read_log_records);
 use Debbugs::MIME qw(convert_to_utf8 decode_rfc1522 create_mime_message);
 use Debbugs::CGI qw(:url :html :util);
 use Debbugs::Common qw(buglog getmaintainers);
@@ -178,7 +178,7 @@ sub display_entity ($$$$\$\@) {
              $body = html_escape($body);
              # Attempt to deal with format=flowed
              if ($content_type =~ m/format\s*=\s*\"?flowed\"?/i) {
-                  $body =~ s{^\s}{}mgo;
+                  $body =~ s{^\ }{}mgo;
                   # we ignore the other things that you can do with
                   # flowed e-mails cause they don't really matter.
              }