Feature #22086 » headTag_stdWrap.diff
typo3/sysext/cms/tslib/class.tslib_pagegen.php (working copy) | ||
---|---|---|
* @return void
|
||
*/
|
||
public static function renderContentWithHeader($pageContent) {
|
||
/** @var $cObj tslib_cObj */
|
||
$cObj = t3lib_div::makeInstance('tslib_cObj');
|
||
$cObj->data = $GLOBALS['TSFE']->page;
|
||
|
||
// get instance of t3lib_PageRenderer
|
||
/** @var $pageRenderer t3lib_PageRenderer */
|
||
$pageRenderer = $GLOBALS['TSFE']->getPageRenderer();
|
||
... | ... | |
$pageRenderer->setHtmlTag('<html' . ($_attr ? ' ' . $_attr : '') . '>');
|
||
// Head tag:
|
||
$GLOBALS['TSFE']->pSetup['headTag'] = $cObj->stdWrap($GLOBALS['TSFE']->pSetup['headTag'], $GLOBALS['TSFE']->pSetup['headTag.']);
|
||
$headTag = $GLOBALS['TSFE']->pSetup['headTag'] ? $GLOBALS['TSFE']->pSetup['headTag'] : '<head>';
|
||
$pageRenderer->setHeadTag($headTag);
|
||