Project

General

Profile

Actions

Bug #17561

closed

meta http-equiv="Content-Type" should change along with config.doctype

Added by Michiel Roos over 16 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2007-08-27
Due date:
% Done:

0%

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

Description

When using config.doctype = xhtml_11 to specify that the content output is xhtml 1.1 a meta charset and ontent type tag is output that does not reflect this setting.

How to reproduce:
Set up a page as xhtml 1.1 and specify: config.doctype = xhtml_11

Expected result:
A meta tag saying:
<meta http-equiv="Content-Type" application/xhtml+xml; charset=utf-8"/>

Observed result:
A meta tag saying:
<meta http-equiv="Content-Type" text/html; charset=utf-8"/>

I propose to use an identical case stucture as is in use for the doctype switch itself.

I'm not a doctype guru, so I fixed this in our install for xhtml_11 only. The other meta tags are default.

(issue imported from #M6214)


Files

fix.diff (1.68 KB) fix.diff Administrator Admin, 2007-08-27 13:31

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #58167: Meta-Tag http-equiv="Content-Type" content="text/html [...]"Closed2014-04-24

Actions
Has duplicate TYPO3 Core - Bug #17534: Meta-Tag http-equiv="Content-Type" content="text/html [...]"ClosedChristian Kuhn2007-08-15

Actions
Actions

Also available in: Atom PDF