Project

General

Profile

Actions

Bug #17279

closed

Tidy changes Meta-Tag charset

Added by Heiko Nöthen over 17 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-05-05
Due date:
% Done:

0%

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

Description

Tidy changes the correct Meta-Tag from

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

to

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />

Vlidators like http://validator.w3.org find foult in the difference between sended header and the metatag charset.

So TYPO3 should set the correct tidy option by config.metaCharset.

$TYPO3_CONF_VARS["FE"]["tidy_path"] = 'tidy ###CHARSET### -i -f /var/log/apache/tidy-log --quiet true -wrap 0 --tidy-mark no --hide-comments no --indent no';
(issue imported from #M5567)


Files

tidy_patch.txt (1.2 KB) tidy_patch.txt Administrator Admin, 2007-05-05 15:59
Actions

Also available in: Atom PDF