summaryrefslogtreecommitdiff
path: root/inc/parser/handler.php
diff options
context:
space:
mode:
authorHarry Fuecks <hfuecks@gmail.com>2005-04-05 10:47:45 +0200
committerHarry Fuecks <hfuecks@gmail.com>2005-04-05 10:47:45 +0200
commitb7c441b9c8eb29ef42816cfb22e610389551e53a (patch)
treea8befc6605691a1f3c3bbcc27745facbe6d2ac06 /inc/parser/handler.php
parent42e8a6c854f0b736a99f4d301471083f4f1ff9b5 (diff)
downloadrpg-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.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();