X-Git-Url: http://git.harvie.cz/?p=mirrors%2FDokuWiki-Plugin-SVGEdit.git;a=blobdiff_plain;f=syntax.php;fp=syntax.php;h=e52c01683e2ba7274b80faca8a56fc36121ecc1b;hp=15dc2371b1fed1dce5ec5264d430f50bc855274f;hb=b7eaee49c658df9bf1136c7044b91a5361b873e0;hpb=a88ccc3a5bec0cf55f1fbb01afa5382a9c06d7ad diff --git a/syntax.php b/syntax.php index 15dc237..e52c016 100755 --- a/syntax.php +++ b/syntax.php @@ -43,7 +43,7 @@ class syntax_plugin_svgedit extends DokuWiki_Syntax_Plugin { $this->Lexer->addSpecialPattern("", $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); } @@ -64,7 +64,7 @@ class syntax_plugin_svgedit extends DokuWiki_Syntax_Plugin { return '<'.$svgtag.'="'.$svglink.'" class="media'.$align.'" alt="'.$title.'" title="'.$title.'" type="image/svg+xml">'.""; } - function render($format, &$renderer, $data) { + function render($format, Doku_Renderer $renderer, $data) { if ($format!='xhtml') return; global $ID;