summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorGina Haeussge <osd@foosel.net>2008-10-11 14:29:08 +0200
committerGina Haeussge <osd@foosel.net>2008-10-11 14:29:08 +0200
commit6fe2045347578cad6b88412ce6effdd77d079d42 (patch)
tree34894bf690699e5561841edb74ba0e67e511ccbe /inc/parser
parent9e561443463033a11f5e049945982cf1b2f312df (diff)
downloadrpg-6fe2045347578cad6b88412ce6effdd77d079d42.tar.gz
rpg-6fe2045347578cad6b88412ce6effdd77d079d42.tar.bz2
Fix for FS#172
darcs-hash:20081011122908-2b4f5-97f0279e58fb8f59bbff03a3c841aad6113e93f2.gz
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php4
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);