42 public static function tidy( $text ) {
44 return $driver->tidy( $text );
61 if ( self::$instance ===
null ) {
75 public static function factory( array $config =
null ) {
84 self::$instance =
null;
$wgTidyConfig
Configuration for HTML postprocessing tool.
Class to interact with and configure Remex tidy.
static factory(array $config=null)
Create a new Tidy driver object from configuration.
static destroySingleton()
Destroy the current singleton instance.
static tidy( $text)
Interface with Remex tidy.