[BUGFIX] Avoid frameborder attribute if no doctype is set 17/59117/2
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 11 Dec 2018 12:56:05 +0000 (13:56 +0100)
committerBenni Mack <benni@typo3.org>
Sat, 22 Dec 2018 12:09:25 +0000 (13:09 +0100)
commitc154610b708fc0437eaec1987ffbb02653f5c108
tree329d6ae014c66f1656dbb99d5f77bca499f6b86d
parent0025ded3b015e169983f7c74e4b274939ae986ff
[BUGFIX] Avoid frameborder attribute if no doctype is set

The YouTube and Vimeo renderer must also check if the doctype is not set as html5 is
the default value.

Resolve: #87114
Releases: master, 9.5
Change-Id: I0eab8e6da67ca1c073847a1a4c6203f97778c4df
Reviewed-on: https://review.typo3.org/59117
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tomas Norre Mikkelsen <tomasnorre@gmail.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Tested-by: Guido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Resource/Rendering/VimeoRenderer.php
typo3/sysext/core/Classes/Resource/Rendering/YouTubeRenderer.php