typo3/sysext/core/Classes/Page/PageRenderer.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/typo3/sysext/core/Classes/Page/PageRenderer.php b/typo3/sysext/core/Classes/Page/PageRenderer.php index 0adf18e..616a8f4 100644 --- a/typo3/sysext/core/Classes/Page/PageRenderer.php +++ b/typo3/sysext/core/Classes/Page/PageRenderer.php @@ -1920,7 +1920,9 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface { public function renderJavaScriptAndCssForProcessingOfUncachedContentObjects($cachedPageContent, $substituteHash) { $this->prepareRendering(); list($jsLibs, $jsFiles, $jsFooterFiles, $cssFiles, $jsInline, $cssInline, $jsFooterInline, $jsFooterLibs) = $this->renderJavaScriptAndCss(); + $title = $this->title ? str_replace('|', htmlspecialchars($this->title), $this->titleTag) : ''; $markerArray = array( + '' => $title, '' => $cssFiles, '' => $cssInline, '' => $jsInline, @@ -2048,9 +2050,9 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface { 'INLINECOMMENT' => $this->inlineComments ? LF . LF . '' . LF . LF : '', 'BASEURL' => $this->baseUrl ? str_replace('|', $this->baseUrl, $this->baseUrlTag) : '', 'SHORTCUT' => $this->favIcon ? sprintf($this->shortcutTag, htmlspecialchars($this->favIcon), $this->iconMimeType) : '', - 'TITLE' => $this->title ? str_replace('|', htmlspecialchars($this->title), $this->titleTag) : '', 'META' => implode(LF, $this->metaTags), 'BODY' => $this->bodyContent, + 'TITLE' => '', 'CSS_INCLUDE' => '', 'CSS_INLINE' => '', 'JS_INLINE' => '',