lib/PublicInbox/View.pm | 6 +++--- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index ce63f7d47aa8ab9716d7c3d08ca0bbcdd3344233..028c2767981f9e3059960738fbc2fe3f26dbd383 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -109,12 +109,12 @@ } my $s = add_text_body_short($enc, $part, $part_nr, $fhref); - # keep signatures for now? They shold usually be short, - # and sometimes footnotes/"P.S." appear there. - # 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...'; + + # Drop signatures + $s =~ s/^-- \n.*\z//ms and $more = 'more...'; # kill any leading or trailing whitespace $s =~ s/\A\s+//s;