GIT.Harvie.CZ
/
mirrors
/
DokuWiki-Plugin-SVGEdit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7de41a
)
Now resolving relative links to namespaces
author
Harvie
<tomas@mudrunka.cz>
Mon, 9 Aug 2010 11:24:42 +0000
(13:24 +0200)
committer
Harvie
<tomas@mudrunka.cz>
Mon, 9 Aug 2010 11:24:42 +0000
(13:24 +0200)
syntax.php
patch
|
blob
|
blame
|
history
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
+ 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.112093 seconds
and
4
git commands to generate.