Skip to content
Snippets Groups Projects
Commit 4a61b1dc authored by Benni Mack's avatar Benni Mack
Browse files

[TASK] Simplify check for ResourceCompressor HTML5 doctype

Even though ResourceCompressor is not used
in BE context anymore, the check for HTML5 doctype
is now based on PageRenderer instead of TSFE
as it is available as a singleton and not
as a global dependency.

In addition, this reduces a cross-dependency
between EXT:frontend and EXT:core.

Introducing DI etc. for ResourceCompressor
can follow at a later stage.

Resolves: #102297
Releases: main
Change-Id: I45c73e59456552e35bfa700990124d45389edb09
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81636


Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 586dca31
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment