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... | |
Private Attributes | |
$pwrap | |
$trace | |
Additional Inherited Members | |
Protected Attributes inherited from MediaWiki\Tidy\TidyDriverBase | |
$config | |
Definition at line 11 of file RemexDriver.php.
MediaWiki\Tidy\RemexDriver::__construct | ( | array | $config | ) |
Definition at line 15 of file RemexDriver.php.
References MediaWiki\Tidy\TidyDriverBase\$config, and true.
MediaWiki\Tidy\RemexDriver::tidy | ( | $text | ) |
Clean up HTML.
string | $text | HTML document fragment to clean up |
Reimplemented from MediaWiki\Tidy\TidyDriverBase.
Definition at line 25 of file RemexDriver.php.
References wfDebug().
|
private |
Definition at line 13 of file RemexDriver.php.
|
private |
Definition at line 12 of file RemexDriver.php.