Definition at line 5 of file RaggettExternal.php.
MediaWiki\Tidy\RaggettExternal::cleanWrapped |
( |
|
$text, |
|
|
|
$stderr = false , |
|
|
& |
$retval = null |
|
) |
| |
|
protected |
Spawn an external HTML tidy process and get corrected markup back from it.
Also called in OutputHandler.php for full page validation
- Parameters
-
string | $text | HTML to check |
bool | $stderr | Whether to read result from STDERR rather than STDOUT |
int | &$retval | Exit code (-1 on internal error) |
- Returns
- string|null
Definition at line 15 of file RaggettExternal.php.
References $retval, wfGetNull(), and wfWarn().
MediaWiki\Tidy\RaggettExternal::supportsValidate |
( |
| ) |
|
The documentation for this class was generated from the following file: