diff --git a/libraries/src/Document/Renderer/Html/HeadRenderer.php b/libraries/src/Document/Renderer/Html/HeadRenderer.php
index ec7d0ad7e7828..1ea3a7455f94f 100644
--- a/libraries/src/Document/Renderer/Html/HeadRenderer.php
+++ b/libraries/src/Document/Renderer/Html/HeadRenderer.php
@@ -223,7 +223,7 @@ public function fetchHead($document)
$buffer .= ' type="' . $type . '"';
}
- $buffer .= '>' . $lnEnd;
+ $buffer .= '>';
// This is for full XHTML support.
if ($document->_mime != 'text/html')
@@ -231,7 +231,7 @@ public function fetchHead($document)
$buffer .= $tab . $tab . '/*_mime != 'text/html')
@@ -239,7 +239,7 @@ public function fetchHead($document)
$buffer .= $tab . $tab . '/*]]>*/' . $lnEnd;
}
- $buffer .= $tab . '' . $lnEnd;
+ $buffer .= '' . $lnEnd;
}
// Generate scripts options
@@ -348,7 +348,7 @@ public function fetchHead($document)
$buffer .= ' type="' . $type . '"';
}
- $buffer .= '>' . $lnEnd;
+ $buffer .= '>';
// This is for full XHTML support.
if ($document->_mime != 'text/html')
@@ -356,7 +356,7 @@ public function fetchHead($document)
$buffer .= $tab . $tab . '//_mime != 'text/html')
@@ -364,7 +364,7 @@ public function fetchHead($document)
$buffer .= $tab . $tab . '//]]>' . $lnEnd;
}
- $buffer .= $tab . '' . $lnEnd;
+ $buffer .= '' . $lnEnd;
}
// Output the custom tags - array_unique makes sure that we don't output the same tags twice