We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 898d63d commit c7c302fCopy full SHA for c7c302f
1 file changed
tests/Antlers/Runtime/PhpEnabledTest.php
@@ -617,9 +617,10 @@ public function test_sanitize_php_is_case_insensitive()
617
$this->assertSame('<?pHp echo "test"; ?>', StringUtilities::sanitizePhp('<?pHp echo "test"; ?>'));
618
}
619
620
- public function test_sanitize_php_handles_short_echo_tag()
+ public function test_sanitize_php_handles_short_tags()
621
{
622
$this->assertSame('<?= $var ?>', StringUtilities::sanitizePhp('<?= $var ?>'));
623
$this->assertSame('<?="test"?>', StringUtilities::sanitizePhp('<?="test"?>'));
624
+ $this->assertSame("<? echo 'test' ?>", StringUtilities::sanitizePhp("<? echo 'test' ?>"));
625
626
0 commit comments