Skip to content

Commit 762af1c

Browse files
committed
wip
1 parent 2862a72 commit 762af1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/view/src/Parser/TempestViewCompiler.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ private function cleanupCompiled(string $compiled): string
200200
return $matches[0];
201201
}
202202

203-
$imports[$matches[0]] = $matches[0];
203+
$import = trim($matches[0]);
204+
205+
$imports[$import] = $import;
204206

205207
return '';
206208
});

0 commit comments

Comments
 (0)