diff --git a/classes/template/TemplateHandler.class.php b/classes/template/TemplateHandler.class.php index c65f7312a..c40583914 100644 --- a/classes/template/TemplateHandler.class.php +++ b/classes/template/TemplateHandler.class.php @@ -816,7 +816,7 @@ class TemplateHandler case 'scss': if($doUnload) { - $result = vsprintf("Context::unloadFile('%s', '%s', '%s';", [ + $result = vsprintf("Context::unloadFile('%s', '%s', '%s');", [ $attr['target'] ?? '', $attr['targetie'] ?? '', $attr['media'] ?? '', ]); } diff --git a/tests/unit/classes/TemplateHandlerTest.php b/tests/unit/classes/TemplateHandlerTest.php index 7199614f8..359e58f95 100644 --- a/tests/unit/classes/TemplateHandlerTest.php +++ b/tests/unit/classes/TemplateHandlerTest.php @@ -110,12 +110,12 @@ class TemplateHandlerTest extends \Codeception\TestCase\Test // array( '', - '?>' + '?>' ), // array( '', - '?>' + '?>' ), // array(