]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki.pm
fix
[ikiwiki.git] / IkiWiki.pm
index 4fc37110b95940a1340d721b6a6e93e17813f0d1..4e30119182c81d3e376027cfac05031c384d9729 100644 (file)
@@ -345,7 +345,8 @@ sub htmllink ($$$;$$$) { #{{{
 
        $linktext=pagetitle(basename($link)) unless defined $linktext;
        
-       return $linktext if length $bestlink && $page eq $bestlink;
+       return "<span class=\"selflink\">$linktext</span>"
+               if length $bestlink && $page eq $bestlink;
        
        # TODO BUG: %renderedfiles may not have it, if the linked to page
        # was also added and isn't yet rendered! Note that this bug is