indent lol
This commit is contained in:
parent
01819af376
commit
9f030dbb28
|
@ -67,9 +67,8 @@ class tpl {
|
|||
}
|
||||
|
||||
static function compileYield($code) {
|
||||
foreach(self::$blocks as $block => $value) {
|
||||
foreach(self::$blocks as $block => $value)
|
||||
$code = preg_replace('/{% ?yield ?' . $block . ' ?%}/', $value, $code);
|
||||
}
|
||||
$code = preg_replace('/{% ?yield ?(.*?) ?%}/i', '', $code);
|
||||
return $code;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user