From 6fe2045347578cad6b88412ce6effdd77d079d42 Mon Sep 17 00:00:00 2001 From: Gina Haeussge Date: Sat, 11 Oct 2008 14:29:08 +0200 Subject: Fix for FS#172 darcs-hash:20081011122908-2b4f5-97f0279e58fb8f59bbff03a3c841aad6113e93f2.gz --- inc/parser/xhtml.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inc') 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); -- cgit v1.2.3