about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-16 20:51:05 +0000
committerEric Wong <e@80x24.org>2015-08-16 20:51:05 +0000
commitaf0c513d49bae691f636b00efd1635b565b40c9d (patch)
treee3a78d69041da126671a5b5752b629d81b7ca40b /lib
parent1da08c65082ceb23484f1ac80d1a5062e9cea240 (diff)
downloadpublic-inbox-af0c513d49bae691f636b00efd1635b565b40c9d.tar.gz
Was too sleepy to be coding last night :x
Diffstat (limited to 'lib')
-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 e1632b5b..6e4d1789 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -143,7 +143,7 @@ sub index_walk {
         $s =~ s/^-- \n.*\z//ms and $$more = 'more...';
 
         # kill any leading or trailing whitespace lines
-        $s =~ s/^[ \t]$//sgm;
+        $s =~ s/^\s*$//sgm;
         $s =~ s/\s+\z//s;
 
         if (length $s) {