]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/View.pm
constent X?HTML MIME type filtering
[public-inbox.git] / lib / PublicInbox / View.pm
index 5baca972d91eefcc16f647bbb35fa72aef856cfc..9f87546f9428b680ad90768419700f1f62f70755 100644 (file)
@@ -353,7 +353,7 @@ sub add_text_body {
 
        my $ct = $part->content_type;
        # account for filter bugs...
-       if (defined $ct && $ct =~ m!\btext/[xh]+tml\b!i) {
+       if (defined $ct && $ct =~ m!\btext/x?html\b!i) {
                $part->body_set('');
                return '';
        }