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.
 
- Public Member Functions inherited from MediaWiki\Tidy\TidyDriverBase
 __construct ( $config)
 
 supportsValidate ()
 Return true if validate() can be used.
 

Additional Inherited Members

- Protected Attributes inherited from MediaWiki\Tidy\TidyDriverBase
 $config
 

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.

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

Reimplemented from MediaWiki\Tidy\TidyDriverBase.

Definition at line 17 of file Html5Depurate.php.

References $req.


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