]> git.donarmstrong.com Git - debbugs.git/commitdiff
* fix infmessage class display in bugreport.cgi
authorDon Armstrong <don@donarmstrong.com>
Sun, 26 Oct 2008 18:45:11 +0000 (11:45 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sun, 26 Oct 2008 18:45:11 +0000 (11:45 -0700)
Debbugs/CGI/Bugreport.pm

index a01c2de4ff568a318aa18a62a2555581923f7077..90cf5272e1d7f5d73f20a005ac57d46759b21eb7 100644 (file)
@@ -314,7 +314,7 @@ sub handle_record{
      local $_ = $record->{type};
      if (/html/) {
          my ($time) = $record->{text} =~ /<!--\s+time:(\d+)\s+-->/;
-         my $class = $record->{text} =~ /^<strong>(?:Acknowledgement|Reply|Information|Report|Notification)/ ? 'infmessage':'msgreceived';
+         my $class = $record->{text} =~ /^<strong>(?:Acknowledgement|Reply|Information|Report|Notification)/m ? 'infmessage':'msgreceived';
          $output .= decode_rfc1522($record->{text});
          # Link to forwarded http:// urls in the midst of the report
          # (even though these links already exist at the top)