Open-Source PHP Framework - Designed for rapid development of performance-oriented scalable applications

Filter component

API >> mvc >> components >> filter

cleanHtml($html)

Cleans up messy broken HTML and returns pristine code that is XHTML-valid and has deprecated font-sizes replaced with accessibility-friendly sizes in CSS format.
Requires the PHP Tidy extension to be enabled for full-functionality, although it will work without it but clean up will be severly limited and it will not convert broken HTML into valid XHTML.