]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/View.pm
view: remove last Hval->new caller
[public-inbox.git] / lib / PublicInbox / View.pm
index 14b7d81d619a85cb45455334c71abcd9c08d49f5..980f265a06ddb99d9736242473e28a1db7ee894c 100644 (file)
@@ -630,10 +630,9 @@ sub _msg_page_prepare_obuf {
        }
        my @title; # (Subject[0], From[0])
        for my $v ($hdr->header('From')) {
-               $v = PublicInbox::Hval->new($v);
-               my @n = PublicInbox::Address::names($v->raw);
+               my @n = PublicInbox::Address::names($v);
+               $v = ascii_html($v);
                $title[1] //= ascii_html(join(', ', @n));
-               $v = $v->as_html;
                if ($obfs_ibx) {
                        obfuscate_addrs($obfs_ibx, $v);
                        obfuscate_addrs($obfs_ibx, $title[1]);