about summary refs log tree commit homepage
path: root/lib/PublicInbox/View.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r--lib/PublicInbox/View.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index d906276a..30d8e3e8 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -354,8 +354,8 @@ sub _msg_html_prepare {
                 $v = PublicInbox::Hval->new($v);
 
                 if ($h eq 'From') {
-                        my $n = PublicInbox::Address::from_name($v->raw);
-                        $title[1] = ascii_html($n);
+                        my @n = PublicInbox::Address::names($v->raw);
+                        $title[1] = ascii_html(join(', ', @n));
                 } elsif ($h eq 'Subject') {
                         $title[0] = $v->as_html;
                         if ($srch) {