MediaWiki master
|
Class to interact with and configure Remex tidy. More...
Static Public Member Functions | |
static | tidy ( $text) |
Interface with Remex tidy. | |
Class to interact with and configure Remex tidy.
Definition at line 31 of file MWTidy.php.
|
static |
Interface with Remex tidy.
If tidy isn't able to correct the markup, the original will be returned in all its glory with a warning comment appended.
string | $text | HTML input fragment. This should not contain a <body> or <html> tag. |
Definition at line 42 of file MWTidy.php.