diff options
-rw-r--r-- | inc/parser/xhtml.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 726bccd19..1f646c4d3 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -692,6 +692,10 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $link['url'] = ml($src,array('id'=>$ID,'cache'=>$cache),true); } + //markup non existing files + if (!$exists) + $link['class'] .= ' wikilink2'; + //output formatted if ($linking == 'nolink' || $noLink) $this->doc .= $link['name']; else $this->doc .= $this->_formatLink($link); |