diff options
author | Eric Wong <e@80x24.org> | 2014-09-22 18:58:57 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-09-22 18:58:57 +0000 |
commit | 933344a0f9362a806f2e92fcfab95d7a09677f68 (patch) | |
tree | 4bd071064341580de7477663140dd9dc67585b43 /lib | |
parent | e925ee9eacaac438c87471bda8c28d5edff7523e (diff) | |
download | public-inbox-933344a0f9362a806f2e92fcfab95d7a09677f68.tar.gz |
Often times any succession of "---" denotes the rest of the message is too long to review at once.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/View.pm | 2 |
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...'; |