diff --git a/src/Helper/HeadScript.php b/src/Helper/HeadScript.php index 0d697bf8..cba66226 100644 --- a/src/Helper/HeadScript.php +++ b/src/Helper/HeadScript.php @@ -418,7 +418,7 @@ public function itemToString($item, $indent, $escapeStart, $escapeEnd) $html .= $indent . ' ' . $item->source; if ($addScriptEscape) { - $html .= $indent . PHP_EOL . ' ' . $escapeEnd; + $html .= PHP_EOL . $indent . ' ' . $escapeEnd; } $html .= PHP_EOL . $indent;