diff options
author | Eric Wong <e@yhbt.net> | 2020-02-15 09:46:38 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-02-16 00:06:46 +0000 |
commit | 4c4de0022f40e09c4db7665cc573a3cb94f753a3 (patch) | |
tree | 041d4a85584330801443b4080416427e7a301e9e /lib/PublicInbox/View.pm | |
parent | 5d5789076ed4da7502ff18748d1553c899b78907 (diff) | |
download | public-inbox-4c4de0022f40e09c4db7665cc573a3cb94f753a3.tar.gz |
No need to use the over-engineered Hval OO API when the subject is already normalized and there's no trailing spaces because of normalization.
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r-- | lib/PublicInbox/View.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 033a0c14..d4bfa62d 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -1090,7 +1090,7 @@ sub dump_topics { my $mid = delete $seen->{$top_subj}; my $href = mid_escape($mid); my $prev_subj = [ split(/ /, $top_subj) ]; - $top_subj = PublicInbox::Hval->new($top_subj)->as_html; + $top_subj = ascii_html($top_subj); $ds = fmt_ts($ds); # $n isn't the total number of posts on the topic, |