Version: current

     1 <?php
     2 /**
     3  * Base class for HTML cleaning classes.
     4  *
     5  * @package sapphire
     6  * @subpackage misc
     7  */
     8 abstract class HTMLCleaner  extends SS_Object {
     9     /**
    10      * Passed $content, return HTML that has been tidied.
    11      * @return string $content HTML, tidied
    12      */
    13     public abstract function cleanHTML($content);
    14 }
    15
    16 ?>
    17

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -