There is no point for diverting readers' attention with
an unnecessary link, here.
my $this = $map->[1];
$this =~ s!\n\z!</b>\n!s;
$this =~ s!<a\nhref.*</a> !!s; # no point in duplicating subject
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) {
$rv .= "<b>@ $this";
my $node = $map->[2];
if (my $child = $node->child) {