Now resolving relative links to namespaces
[mirrors/DokuWiki-Plugin-SVGEdit.git] / 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.116776 seconds and 4 git commands to generate.