Skip to content

Commit 8d2d4eb

Browse files
committed
Fix refactorTemplateString
1 parent 7ad3b41 commit 8d2d4eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ public function refactorTemplateString(string $value): string
806806
$templateStringContent = '"' . $matches['content'] . '"';
807807
$value = preg_replace(
808808
'/\${(.+)}/',
809-
'{{ $1 }}',
809+
'" ~ ( $1 ) ~ "',
810810
$templateStringContent
811811
);
812812
}

0 commit comments

Comments
 (0)