---
title: "Deprecation: #100614 - Deprecate PageRenderer::$inlineJavascriptWrap and $inlineCssWrap"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-100614-1681589901"
source: "Changelog/12.4/Deprecation-100614-DeprecatePageRendererinlineJavascriptWrapAndInlineCssWrap.rst"
typo3-version: "12.4"
typo3-major: 12
type: "deprecation"
issue: 100614
forge: "https://forge.typo3.org/issues/100614"
tags: ["Frontend", "Backend", "NotScanned", "ext:core"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Deprecation: #100614 - Deprecate PageRenderer::$inlineJavascriptWrap and $inlineCssWrap {#deprecation-100614-1681589901}

See [forge#100614](https://forge.typo3.org/issues/100614)

## Description {#description}

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

## Impact {#impact}

`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 {#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`.

## Migration {#migration}

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`.
