diff options
Diffstat (limited to 'inc/parser/handler.php')
-rw-r--r-- | inc/parser/handler.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php index 91d884345..ce0fb5d4c 100644 --- a/inc/parser/handler.php +++ b/inc/parser/handler.php @@ -12,6 +12,7 @@ class Doku_Handler { var $meta = array( 'section' => FALSE, 'toc' => TRUE, + 'cache' => TRUE, ); var $rewriteBlocks = TRUE; @@ -97,6 +98,11 @@ class Doku_Handler { $this->meta['toc'] = FALSE; return TRUE; } + + function nocache($match, $state, $pos) { + $this->_addCall('nocache',array(),$pos); + return TRUE; + } function linebreak($match, $state, $pos) { $this->_addCall('linebreak',array(),$pos); |