Deprecation: #100614 - Deprecate PageRenderer::$inlineJavascriptWrap and $inlineCssWrap

See forge#100614


The protected properties $inlineJavascriptWrap and $inlineCssWrap of the class \TYPO3\CMS\Core\Page\PageRenderer have been deprecated and shall not be used any longer.


PageRenderer specifics concerning rendering XHTML or non-HTML5 content are not working any longer in affected installations having custom code extending \TYPO3\CMS\Core\Page\PageRenderer.

Affected installations

Installations with custom code extending \TYPO3\CMS\Core\Page\PageRenderer that are reading from or writing to the mentioned protected properties $inlineJavascriptWrap or $inlineCssWrap.


Avoid using the protected properties $inlineJavascriptWrap and $inlineCssWrap. In case any custom code needs to wrap with inline <script> or <style> tags, use the new protected methods wrapInlineScript($content) and wrapInlineStyle($content) within \TYPO3\CMS\Core\Page\PageRenderer.