Skip to content
Snippets Groups Projects
Commit 0371f346 authored by Benni Mack's avatar Benni Mack Committed by Georg Ringer
Browse files

[!!!][BUGFIX] Do not render type attribute for style and link tags

It is recommended for <style> and <link> HTML tags
to not use the "type" attribute anymore.

Details:
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style

The patch drops the attribute from rendering. The patch is
marked as a breaking since it changes frontend output.

Resolves: #45512
Releases: master
Change-Id: I073d7ef6c40a824755768d33fcc71c9f26090801
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65548


Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent c2942387
No related branches found
No related tags found
No related merge requests found
Showing
with 67 additions and 25 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment