about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
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 5aab609d..b3545a4a 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -197,7 +197,7 @@ sub index_walk {
         my $ct = $part->content_type;
 
         # account for filter bugs...
-        return if defined $ct && $ct =~ m!\btext/[xh]+tml\b!i;
+        return '' if defined $ct && $ct =~ m!\btext/[xh]+tml\b!i;
 
         my $enc = enc_for($ct, $enc_msg);