* Fix parser test for self-links
$text = htmlspecialchars( $nt->getPrefixedText() );
}
list( $inside, $trail ) = Linker::splitTrail( $trail );
- return "<span class=\"selflink\"><strong>{$prefix}{$text}{$inside}</strong></span>{$trail}";
+ return "<strong class=\"selflink\">{$prefix}{$text}{$inside}</strong>{$trail}";
}
/** @todo document */
!! input
[[Bug462]] [[Bug462]]
!! result
-<p><strong>Bug462</strong> <strong>Bug462</strong>
+<p><strong class="selflink">Bug462</strong> <strong class="selflink">Bug462</strong>
</p>
!! end