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 bdfb84e commit 43e0ebaCopy full SHA for 43e0eba
src/vite.php
@@ -46,9 +46,9 @@ function inlineViteAsset(string|array $files, string $type): void
46
}
47
48
if ($type === 'stylesheet') {
49
- echo Html::tag(name: 'style', content: $content);
+ echo Html::tag(name: 'style', content: [$content]);
50
} elseif ($type === 'script') {
51
- echo Html::tag(name: 'script', content: $content);
+ echo Html::tag(name: 'script', content: [$content]);
52
53
54
0 commit comments