Skip to content

Commit

Permalink
wrap with newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Aug 18, 2024
1 parent a6ef9d1 commit 25ba4a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/InjectAssets.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public function __invoke(RequestHandled $handled)
protected function inject(string $html, string $assets): string
{
$html = str($html);
$assets = PHP_EOL . $assets . PHP_EOL;

if ($html->test('/<\s*\/\s*head\s*>/i')) {
return $html
Expand Down

0 comments on commit 25ba4a2

Please sign in to comment.