Commit 10455f55 by Thomas Bachem

Fixed {capture} contents lacking the output of block plugins when multiple block plugins are used

parent a8813339
...@@ -1053,6 +1053,10 @@ class Dwoo_Core ...@@ -1053,6 +1053,10 @@ class Dwoo_Core
$this->curBlock = end($this->stack); $this->curBlock = end($this->stack);
$this->curBlock->buffer($tmp->process()); $this->curBlock->buffer($tmp->process());
} else { } else {
if($this->buffer !== '') {
echo $this->buffer;
$this->buffer = '';
}
$this->curBlock = null; $this->curBlock = null;
echo $tmp->process(); echo $tmp->process();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment