diff options
-rw-r--r-- | lib/PublicInbox/View.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 1527959d..e8395ae9 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -219,6 +219,7 @@ sub _th_index_lite { my $this = $map->[1]; $this =~ s!\n\z!</b>\n!s; $this =~ s!<a\nhref.*</a> !!s; # no point in duplicating subject + $this =~ s!<a\nhref=[^>]+>([^<]+)</a>!$1!s; # no point linking to self $rv .= "<b>@ $this"; my $node = $map->[2]; if (my $child = $node->child) { |