From 61ec98e574066ee1d48ca1245af950eaf53da73e Mon Sep 17 00:00:00 2001 From: Harvie Date: Mon, 9 Aug 2010 13:24:42 +0200 Subject: [PATCH] Now resolving relative links to namespaces --- syntax.php | 1 + 1 file changed, 1 insertion(+) 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 = ''; -- 2.30.2