---
title: "Deprecation: #62855 - \"XHTML cleaning\" functionality moved to legacy extension"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-62855"
source: "Changelog/7.1/Deprecation-62855-XHTMLCleaningMovedToLegacyExtension.rst"
typo3-version: "7.1"
typo3-major: 7
type: "deprecation"
issue: 62855
forge: "https://forge.typo3.org/issues/62855"
tags: ["TypoScript", "Frontend"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Deprecation: #62855 - "XHTML cleaning" functionality moved to legacy extension {#deprecation-62855}

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

## Description {#description}

XHTML cleaning is not necessary anymore, since modern technology bases completely on HTML5. Therefore the
according functionality has been moved to the legacy extension EXT:compatibility6.

The following TypoScript option has been marked for deprecation:

```typoscript
config.xhtml_cleaning
```

The following PHP method has been marked for deprecation:

```php
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::doXHTML_cleaning()
```

## Impact {#impact}

The content output of the TYPO3 frontend is not cleaned anymore unless EXT:compatibility6 is loaded.

## Affected installations {#affected-installations}

Any installation having the TypoScript option `config.xhtml_cleaning`
set will have different behaviour in the
frontend rendering.

## Migration {#migration}

For TYPO3 CMS 7, installing EXT:compatibility6 brings back the existing functionality.
