From e41c4da9b8ec98a022a91b04f7c5d7bbee54b6c9 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 19 Feb 2006 17:47:26 +0100 Subject: some TOC fixes darcs-hash:20060219164726-7ad00-eb637e1db83e2f3b6c3629da18214b6587590b24.gz --- inc/parser/handler.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'inc/parser/handler.php') diff --git a/inc/parser/handler.php b/inc/parser/handler.php index 4653cf603..dc5315fdd 100644 --- a/inc/parser/handler.php +++ b/inc/parser/handler.php @@ -11,8 +11,6 @@ class Doku_Handler { var $meta = array( 'section' => FALSE, - 'toc' => TRUE, - 'cache' => TRUE, ); var $rewriteBlocks = TRUE; @@ -115,7 +113,7 @@ class Doku_Handler { } function notoc($match, $state, $pos) { - $this->meta['toc'] = FALSE; + $this->_addCall('notoc',array(),$pos); return TRUE; } -- cgit v1.2.3