X-Git-Url: http://popeye.lapinbilly.eu/git/?p=manlink.git;a=blobdiff_plain;f=syntax.php;h=cee0a2ae56d81b4ad366a42f8f14e91913b5c96b;hp=d9e2724133e201549bc0a4e7385ccc3f640fe1ff;hb=HEAD;hpb=2f3c520c30a30d04fe98e330352c5c16c12dc552 diff --git a/syntax.php b/syntax.php index d9e2724..cee0a2a 100644 --- a/syntax.php +++ b/syntax.php @@ -25,7 +25,7 @@ class syntax_plugin_manlink extends DokuWiki_Syntax_Plugin { return false; if (substr($match, 0, 1) == "!") { - $handler->addCall('cdata', array(substr($match, 1)), $pos); + $handler->_addCall('cdata', array(substr($match, 1)), $pos); return true; } @@ -42,7 +42,7 @@ class syntax_plugin_manlink extends DokuWiki_Syntax_Plugin { elseif ($mantarget == 'DragonFlyBSD') $target = 'http://mdoc.su/d/'.$manpage.'.'.$section; - $handler->addCall('externallink', array($target, $match), $pos); + $handler->_addCall('externallink', array($target, $match), $pos); return true; }