Bug #55272
closedTYPO3 4.5 HTML5 incompatibility fix
0%
Description
As many of you might know, TYPO3 4.5 does not support HTML5 properly.
For example, if you set config.doctype = html5
, the base, meta and link tags that are generated by TYPO3 do not close properly (HTML 4 style).
This happens because of typo3/sysext/cms/tslib/class.tslib_pagegen.php
at around line 220 to 248, where the html5 tag is not matched in the switch statement and thus "renderHtml" ist deactivated in t3lib_pageRenderer
.
This could be solved as follows:typo3/sysext/cms/tslib/class.tslib_pagegen.php
at around line 241:
... case 'xhtml_2': $GLOBALS['TSFE']->xhtmlVersion = 200; break; case 'html5': break; ...
Updated by Markus Klein almost 11 years ago
- Category set to Content Rendering
- Status changed from New to Accepted
- Target version set to next-patchlevel
- Complexity set to easy
Updated by Gerrit Code Review almost 11 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27029
Updated by Markus Klein almost 11 years ago
- Status changed from Under Review to Needs Feedback
- Target version deleted (
next-patchlevel)
According to http://www.w3schools.com/tags/tag_link.asp this syntax is perfectly valid.
Neither base nor link nor meta needs to closed with a slash!
Updated by Alexander Opitz over 10 years ago
- Status changed from Needs Feedback to Rejected
No feedback within the last 90 days => closing this ticket.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.