X-Git-Url: http://git.harvie.cz/?p=mirrors%2FDokuWiki-Plugin-SVGEdit.git;a=blobdiff_plain;f=syntax.php;fp=syntax.php;h=f30659e415559574c55142553addb0995cf0a572;hp=b536cabfff29c3178dc6f4cff7b7b96169195751;hb=61ec98e574066ee1d48ca1245af950eaf53da73e;hpb=d7de41a44642e2ba9689c479453e3c593bf2cb85 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 = '';