about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-09-15 20:47:33 +0000
committerEric Wong <e@80x24.org>2014-09-15 20:47:33 +0000
commita4cea21b8bde2897786a8fab4b33b669b935011c (patch)
treede4902122fb72c7cce961b89f886e16fb3f3a3c5 /lib
parent8c61f7e039599b89edc1dea137af8bcf99ee9a49 (diff)
downloadpublic-inbox-a4cea21b8bde2897786a8fab4b33b669b935011c.tar.gz
We have a less-ambiguous "more..." link nowadays if somebody
wants to see the full message.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/View.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index ce63f7d4..028c2767 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -109,13 +109,13 @@ sub index_entry {
 
                 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;
                 $s =~ s/\s+\z//s;