MediaWiki
1.30.0
|
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... | |
validate ( $text, &$errorStr) | |
Check HTML for errors, used if $wgValidateAllHtml = true. More... | |
Additional Inherited Members | |
Protected Attributes inherited from MediaWiki\Tidy\TidyDriverBase | |
$config | |
Definition at line 8 of file Html5Depurate.php.
MediaWiki\Tidy\Html5Depurate::__construct | ( | array | $config | ) |
Definition at line 9 of file Html5Depurate.php.
References MediaWiki\Tidy\TidyDriverBase\$config.
MediaWiki\Tidy\Html5Depurate::tidy | ( | $text | ) |
Clean up HTML.
string | $text | HTML document fragment to clean up |
Reimplemented from MediaWiki\Tidy\TidyDriverBase.
Definition at line 17 of file Html5Depurate.php.
References $req, and MWHttpRequest\factory().