Loading css_styled_content TS using INCLUDE_TYPOSCRIPT doesn't include defaultContentRendering
Since making TS content templates more flexible in https://review.typo3.org/#/c/27587/ the fix for making loading css_styled_content TS using INCLUDE_TYPOSCRIPT work https://review.typo3.org/#/c/21679/ is broken.
The problem is again, that tt_content.list.20.* is not appended if the TS of css_styled_content is loaded using INCLUDE_TYPOSCRIPT.
[BUGFIX] Add additional TS for contentRenderingTemplates loaded by file
Loading extensions TS, that provide contentRenderingTemplates, like
css_styled_content, using INCLUDE_TYPOSCRIPT was fixed in
Since making TS content templates more flexible in
https://review.typo3.org/#/c/27587/ the contentRenderingTemplates wasn't
added to "defaultTypoScript_setup." and "defaultTypoScript_constants."
arrays anymore and breaks the mentioned fix.
Solution is to check the required key in contentRenderingTemplates and
add the defaultContentRendering string now.
Reviewed-by: Benjamin Mack
Reviewed-by: Krzysztof Adamczyk
Tested-by: Krzysztof Adamczyk
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter