From: Harvie Date: Mon, 9 Aug 2010 11:24:42 +0000 (+0200) Subject: Now resolving relative links to namespaces X-Git-Url: https://git.harvie.cz/?p=mirrors%2FDokuWiki-Plugin-SVGEdit.git;a=commitdiff_plain;h=61ec98e574066ee1d48ca1245af950eaf53da73e Now resolving relative links to namespaces --- diff --git a/syntax.php b/syntax.php index b536cab..f30659e 100755 --- a/syntax.php +++ b/syntax.php @@ -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 = '';