Project

General

Profile

Actions

Bug #25280

closed

metaCharsetTag is not truly HTML5 nor XHTML (in general) compatible

Added by Sigfried Arnold over 13 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2011-03-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

$metaCharsetTag gets set hardcoded to <meta http-equiv="Content-Type" content="text/html; charset=|" />'; in class.t3lib_pagerenderer.php

If you want to use XHTML5, XHTML 1.0 or XHTML 1.1 the proper you need modify it.

This option should be set automatically by setting config.doctype

for HTML5 or XHTML5 it should be
<meta charset="|"> or <meta charset="|" />

for other xhtml dialects it should be
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=|" />
or
<meta http-equiv="Content-Type" content="application/xml; charset=|" />
(issue imported from #M17893)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #24212: Update meta tag "charset" for HTML5 – document character-encoding declarationClosedSteffen Gebert2010-11-26

Actions
Actions

Also available in: Atom PDF