diff options
author | Harry Fuecks <hfuecks@gmail.com> | 2005-04-05 10:47:45 +0200 |
---|---|---|
committer | Harry Fuecks <hfuecks@gmail.com> | 2005-04-05 10:47:45 +0200 |
commit | b7c441b9c8eb29ef42816cfb22e610389551e53a (patch) | |
tree | a8befc6605691a1f3c3bbcc27745facbe6d2ac06 /inc/parser/handler.php | |
parent | 42e8a6c854f0b736a99f4d301471083f4f1ff9b5 (diff) | |
download | rpg-b7c441b9c8eb29ef42816cfb22e610389551e53a.tar.gz rpg-b7c441b9c8eb29ef42816cfb22e610389551e53a.tar.bz2 |
Mods for wiki syntax converters
darcs-hash:20050405084745-56ad0-d350083b623653dcd7fc77cd527571c7af1e34dd.gz
Diffstat (limited to 'inc/parser/handler.php')
-rw-r--r-- | inc/parser/handler.php | 8 |
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(); |