From 6ef495caacffe26bfc131fa1995373c42316def0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 3 Jul 2016 00:59:07 +0000 Subject: view: remove self-linkification in thread views There is no point for diverting readers' attention with an unnecessary link, here. --- lib/PublicInbox/View.pm | 1 + 1 file changed, 1 insertion(+) 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!\n!s; $this =~ s! !!s; # no point in duplicating subject + $this =~ s!]+>([^<]+)!$1!s; # no point linking to self $rv .= "@ $this"; my $node = $map->[2]; if (my $child = $node->child) { -- cgit v1.2.3-24-ge0c7