about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/View.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 028c2767..3860d6e4 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -111,7 +111,7 @@ sub index_entry {
 
                 # 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...';