|
|
@ -81,7 +81,7 @@ class Component_Builder { |
|
|
$template = file_get_contents( $path ); |
|
|
$template = file_get_contents( $path ); |
|
|
$phpStr = LightnCandy::compile( $template, |
|
|
$phpStr = LightnCandy::compile( $template, |
|
|
[ |
|
|
[ |
|
|
'flags' => Flags::FLAG_NOESCAPE | Flags::FLAG_PARENT | Flags::FLAG_SPVARS | Flags::FLAG_ELSE | Flags::FLAG_JSLENGTH | Flags::FLAG_JSTRUE, |
|
|
'flags' => Flags::FLAG_NOESCAPE | Flags::FLAG_PARENT | Flags::FLAG_SPVARS | Flags::FLAG_ELSE | Flags::FLAG_JSLENGTH | Flags::FLAG_JSTRUE | Flags::FLAG_THIS, |
|
|
'helpers' => $this->custom_handlebars ?? [], |
|
|
'helpers' => $this->custom_handlebars ?? [], |
|
|
] |
|
|
] |
|
|
); |
|
|
); |
|
|
|