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
Merge pull request #21 from michitux/master
[mirrors/DokuWiki-Plugin-SVGEdit.git]
/
syntax.php
diff --git
a/syntax.php
b/syntax.php
index 15dc2371b1fed1dce5ec5264d430f50bc855274f..e52c01683e2ba7274b80faca8a56fc36121ecc1b 100755
(executable)
--- a/
syntax.php
+++ b/
syntax.php
@@
-43,7
+43,7
@@
class syntax_plugin_svgedit extends DokuWiki_Syntax_Plugin {
$this->Lexer->addSpecialPattern("<svg.+?</svg>", $mode, 'plugin_svgedit');
}
$this->Lexer->addSpecialPattern("<svg.+?</svg>", $mode, 'plugin_svgedit');
}
- function handle($match, $state, $pos,
&
$handler) {
+ function handle($match, $state, $pos,
Doku_Handler
$handler) {
$type = substr($match,0,4);
return array($type, $match);
}
$type = substr($match,0,4);
return array($type, $match);
}
@@
-64,7
+64,7
@@
class syntax_plugin_svgedit extends DokuWiki_Syntax_Plugin {
return '<a href="'.$svglink.'" type="image/svg+xml" /><'.$svgtag.'="'.$svglink.'" class="media'.$align.'" alt="'.$title.'" title="'.$title.'" type="image/svg+xml">'."</$svgtag_close></a>";
}
return '<a href="'.$svglink.'" type="image/svg+xml" /><'.$svgtag.'="'.$svglink.'" class="media'.$align.'" alt="'.$title.'" title="'.$title.'" type="image/svg+xml">'."</$svgtag_close></a>";
}
- function render($format,
&
$renderer, $data) {
+ function render($format,
Doku_Renderer
$renderer, $data) {
if ($format!='xhtml') return;
global $ID;
if ($format!='xhtml') return;
global $ID;
This page took
0.132233 seconds
and
4
git commands to generate.