From b7c441b9c8eb29ef42816cfb22e610389551e53a Mon Sep 17 00:00:00 2001 From: Harry Fuecks Date: Tue, 5 Apr 2005 10:47:45 +0200 Subject: Mods for wiki syntax converters darcs-hash:20050405084745-56ad0-d350083b623653dcd7fc77cd527571c7af1e34dd.gz --- inc/parser/handler.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'inc/parser/handler.php') 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(); -- cgit v1.2.3