lib/PublicInbox/View.pm | 2 +- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 028c2767981f9e3059960738fbc2fe3f26dbd383..3860d6e4b862ea502212c73c4fb134ec69f41c49 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -111,7 +111,7 @@ my $s = add_text_body_short($enc, $part, $part_nr, $fhref); # drop the remainder of git patches, they're usually better # to review when the full message is viewed - $s =~ s!^---\n.*\z!!ms and $more = 'more...'; + $s =~ s!^---+\n.*\z!!ms and $more = 'more...'; # Drop signatures $s =~ s/^-- \n.*\z//ms and $more = 'more...';