Bug #24212
closedUpdate meta tag "charset" for HTML5 – document character-encoding declaration
100%
Description
When setting the doctype to html_5 TYPO3 still generates a http-equiv meta tag for setting the character encoding.
The attached patch makes the meta charset tag used by the pageRenderer configurable with a setter and adjusts tslib_pagegen so that it uses the recommended <meta charset=...> Tag.
(issue imported from #M16577)
Files
Updated by Mam Violeng almost 14 years ago
The old patch is not working and we move the function which called the setMetaCharsetTag to the existing switch condition html5 and created a new patch file.
Updated by Chris topher almost 14 years ago
Hi Violeng,
thanks for your contribution!
Do you know, that you must send your patch to Core List to get it in the next releases of TYPO3?
Check out http://typo3.org/teams/core/core-mailinglist-rules/
There you already find an example of what your mail should look like.
Updated by Mam Violeng almost 14 years ago
Hi Christoper,
Yes, I already sent the patch to the Core List.
Updated by Chris topher almost 14 years ago
Ahh, thanks for the note. Seems like I have missed that thread...
Updated by Riccardo De Contardi almost 14 years ago
A little question: what if I'd want to use a custom doctype?
I'm asking because I'd like to use the "boilerplate standard", so my doctype is:
config.doctype(
<!doctype html>
)
Updated by Morton Jonuschat almost 14 years ago
In TYPO3 4.5 you could use the render-postProcess Hook to modify the doctype to get this kind of doctype. See #24214 for some more information on this.
Updated by Steffen Gebert over 13 years ago
- Category deleted (
Communication) - Assignee set to Steffen Gebert
- Target version deleted (
0)
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change I8275b677e5394f59dbd1efc65ced93f57149ebae has been pushed to the review server.
It is available at http://review.typo3.org/2280
Updated by Chris topher over 13 years ago
- Category set to Frontend
- Status changed from New to Under Review
Updated by Mr. Hudson over 13 years ago
Patch set 2 of change I8275b677e5394f59dbd1efc65ced93f57149ebae has been pushed to the review server.
It is available at http://review.typo3.org/2280
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Ic1ec479086d955bed407e2c87fdc6ca0d9bc32f6 has been pushed to the review server.
It is available at http://review.typo3.org/2318
Updated by Susanne Moog over 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5f2320a719832b0e9d28ddd00c3d42ae1e40ce42.
Updated by Susanne Moog over 13 years ago
- Category changed from Frontend to 1050
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed
Updated by Oliver Hader about 7 years ago
- Category changed from 1050 to Frontend