MediaWiki  REL1_31
MediaWiki\Tidy\Html5Depurate Class Reference
Inheritance diagram for MediaWiki\Tidy\Html5Depurate:
Collaboration diagram for MediaWiki\Tidy\Html5Depurate:

Public Member Functions

 __construct (array $config)
 tidy ( $text)
 Clean up HTML. More...
- Public Member Functions inherited from MediaWiki\Tidy\TidyDriverBase
 __construct ( $config)
 supportsValidate ()
 Return true if validate() can be used. More...

Additional Inherited Members

- Protected Attributes inherited from MediaWiki\Tidy\TidyDriverBase

Detailed Description

Definition at line 8 of file Html5Depurate.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Tidy\Html5Depurate::__construct ( array  $config)

Definition at line 9 of file Html5Depurate.php.

References MediaWiki\Tidy\TidyDriverBase\$config.

Member Function Documentation

◆ tidy()

MediaWiki\Tidy\Html5Depurate::tidy (   $text)

Clean up HTML.

string$textHTML document fragment to clean up
string The corrected HTML output

Reimplemented from MediaWiki\Tidy\TidyDriverBase.

Definition at line 17 of file Html5Depurate.php.

References $req, and MWHttpRequest\factory().

The documentation for this class was generated from the following file: