Skip to content

Commit f85d3d0

Browse files
committed
render newline in front of all script elements
1 parent ef3397f commit f85d3d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ImportMap/ImportMapRenderer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ public function render(string|array $entryPoint, array $attributes = []): string
9191
$scriptAttributes = $this->createAttributesString($attributes);
9292
$importMapJson = json_encode(['imports' => $importMap], \JSON_THROW_ON_ERROR | \JSON_PRETTY_PRINT | \JSON_UNESCAPED_SLASHES | \JSON_HEX_TAG);
9393
$output .= <<<HTML
94+
9495
<script type="importmap"$scriptAttributes>
9596
$importMapJson
9697
</script>

0 commit comments

Comments
 (0)