diff options
author | Eric Wong <e@80x24.org> | 2016-07-03 00:59:07 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-07-03 00:59:28 +0000 |
commit | 6ef495caacffe26bfc131fa1995373c42316def0 (patch) | |
tree | fc8f3adce2985b547aef945230aa1cc7c8333d4f /lib/PublicInbox/View.pm | |
parent | c1630b7dc4ef631250f77710b1c6cffea5e49b44 (diff) | |
download | public-inbox-6ef495caacffe26bfc131fa1995373c42316def0.tar.gz |
There is no point for diverting readers' attention with an unnecessary link, here.
Diffstat (limited to 'lib/PublicInbox/View.pm')
-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) { |