They're needless for actual display once outside of email headers. But we will still show them when displaying mock headers in the permalink view. --- lib/PublicInbox/Address.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/PublicInbox/Address.pm b/lib/PublicInbox/Address.pm index 8b3daf5..772aded 100644 --- a/lib/PublicInbox/Address.pm +++ b/lib/PublicInbox/Address.pm @@ -18,7 +18,8 @@ sub from_name { $name =~ s/\@.*//; } $name =~ tr/\r\n\t/ /; - $name =~ s/\A\s*//; + $name =~ s/\A['"\s]*//; + $name =~ s/['"\s]*\z//; $name; } -- unsubscribe: meta+unsubscr...@public-inbox.org archive: https://public-inbox.org/meta/