Description
Legacy PHP 5.6 applications can clean, repair, and normalize HTML through the Tidy library. This is useful for old CMS code, importers, validators, and publishing workflows that need more consistent markup.
It is an HTML-processing extension. Cleaning markup is not a security sanitizer by itself, so applications should still escape output and validate untrusted HTML separately.