summaryrefslogtreecommitdiff
path: root/inc/parser/handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/handler.php')
-rw-r--r--inc/parser/handler.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 24f095599..752ba49f7 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -14,6 +14,8 @@ class Doku_Handler {
'toc' => TRUE,
);
+ var $rewriteBlocks = TRUE;
+
function Doku_Handler() {
$this->CallWriter = & new Doku_Handler_CallWriter($this);
}
@@ -29,8 +31,10 @@ class Doku_Handler {
$this->calls = $S->process($this->calls);
}
- $B = & new Doku_Handler_Block();
- $this->calls = $B->process($this->calls);
+ if ( $this->rewriteBlocks ) {
+ $B = & new Doku_Handler_Block();
+ $this->calls = $B->process($this->calls);
+ }
if ( $this->meta['toc'] ) {
$T = & new Doku_Handler_Toc();