diff --git a/platforms/php/build.php b/platforms/php/build.php index 0e2d1d8..bb1d822 100644 --- a/platforms/php/build.php +++ b/platforms/php/build.php @@ -81,7 +81,7 @@ class Component_Builder { $template = file_get_contents( $path ); $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 ?? [], ] );