Bug #24212 » html5-charset.diff
t3lib/class.t3lib_pagerenderer.php | ||
---|---|---|
}
|
||
/**
|
||
* Sets meta charset tag
|
||
*
|
||
* @param string $metaCharsetTag meta charset tag
|
||
* @return void
|
||
*/
|
||
public function setMetaCharsetTag($metaCharsetTag) {
|
||
$this->metaCharsetTag = $metaCharsetTag;
|
||
}
|
||
/**
|
||
* Sets favicon
|
||
*
|
||
* @param string $favIcon
|
typo3/sysext/cms/tslib/class.tslib_pagegen.php | ||
---|---|---|
$pageRenderer->setHeadTag($headTag);
|
||
// Setting charset meta tag:
|
||
if ($doctype === 'html_5') {
|
||
$pageRenderer->setMetaCharsetTag('<meta charset="|"/>');
|
||
}
|
||
$pageRenderer->setCharSet($theCharset);
|
||
$pageRenderer->addInlineComment(' This website is powered by TYPO3 - inspiring people to share!
|