diff options
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index d79069bd6..b677d9705 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -424,6 +424,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $link['style'] = ''; $link['pre'] = ''; $link['suf'] = ''; + // highlight link to current page + if ($id == $ID) { + $link['pre'] = '<strong>'; + $link['suf'] = '</strong>'; + } $link['more'] = 'onclick="return svchk()" onkeypress="return svchk()"'; $link['class'] = $class; $link['url'] = wl($id); |