Now resolving relative links to namespaces
authorHarvie <tomas@mudrunka.cz>
Mon, 9 Aug 2010 11:24:42 +0000 (13:24 +0200)
committerHarvie <tomas@mudrunka.cz>
Mon, 9 Aug 2010 11:24:42 +0000 (13:24 +0200)
syntax.php

index b536cabfff29c3178dc6f4cff7b7b96169195751..f30659e415559574c55142553addb0995cf0a572 100755 (executable)
@@ -70,6 +70,7 @@ class syntax_plugin_svgedit extends DokuWiki_Syntax_Plugin {
                                global $ID;
 
                                $svg_wiki_page = trim(substr($data[1], 6, -2)); //name of wiki page containing SVG image
+                               resolve_pageid(getNS($ID),$svg_wiki_page,$exists); //resolve relative IDs
 
                                //detect image size for stupid browsers (like firefox) - ugly (fails if svg does not contain information about it's size)
                                $svg_dimensions = '';
This page took 0.123437 seconds and 4 git commands to generate.