GIT.Harvie.CZ
/
mirrors
/
DokuWiki-Plugin-SVGEdit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now resolving relative links to namespaces
[mirrors/DokuWiki-Plugin-SVGEdit.git]
/
syntax.php
diff --git
a/syntax.php
b/syntax.php
index b536cabfff29c3178dc6f4cff7b7b96169195751..f30659e415559574c55142553addb0995cf0a572 100755
(executable)
--- 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
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 = '';
//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.139818 seconds
and
4
git commands to generate.