diff --git a/syntax/autotoc.php b/syntax/autotoc.php index b00a7f8..c2f4a8d 100644 --- a/syntax/autotoc.php +++ b/syntax/autotoc.php @@ -52,7 +52,7 @@ function handle($match, $state, $pos, Doku_Handler $handler) { switch ($m[1]) { case 'NOTOC': - // $handler->_addCall('notoc', array(), $pos); + $handler->addCall('notoc', array(), $pos); $tocPosition = 9; break; case 'CLOSETOC': diff --git a/syntax/metatoc.php b/syntax/metatoc.php index 561c1c2..82c82a4 100644 --- a/syntax/metatoc.php +++ b/syntax/metatoc.php @@ -56,7 +56,7 @@ function handle($match, $state, $pos, Doku_Handler $handler) { // should disable built-in TOC here? if ($m[1] == 'TOC') { - $handler->_addCall('notoc', array(), $pos); + $handler->addCall('notoc', array(), $pos); } // check basic tocStyle diff --git a/syntax/sidetoc.php b/syntax/sidetoc.php index fedb0a9..4e3d342 100644 --- a/syntax/sidetoc.php +++ b/syntax/sidetoc.php @@ -27,7 +27,7 @@ function handle($match, $state, $pos, Doku_Handler $handler) { global $INFO, $ID; // disable using cache - $handler->_addCall('nocache', array(), $pos); + $handler->addCall('nocache', array(), $pos); $data = parent::handle($match, $state, $pos, $handler); list($id, $topLv, $maxLv, $tocClass, $tocTitle) = $data;