Definition at line 5 of file RaggettInternalPHP.php.
MediaWiki\Tidy\RaggettInternalPHP::cleanWrapped |
( |
|
$text, |
|
|
|
$stderr = false , |
|
|
& |
$retval = null |
|
) |
| |
|
protected |
Use the HTML tidy extension to use the tidy library in-process, saving the overhead of spawning a new process.
- Parameters
-
string | $text | HTML to check |
bool | $stderr | Whether to read result from error status instead of output |
int | &$retval | Exit code (-1 on internal error) |
- Returns
- string|null
Definition at line 15 of file RaggettInternalPHP.php.
References $retval, and wfWarn().
MediaWiki\Tidy\RaggettInternalPHP::supportsValidate |
( |
| ) |
|
The documentation for this class was generated from the following file: