Project

General

Profile

Bug #24212 » html5-charset.diff

Administrator Admin, 2010-11-26 17:16

View differences:

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!
(1-1/2)