Merge pull request #3416 from halkyon/tidy_doc

CSSContentParser: Fix mispelled "tidy" and correct case of "tidy" class
This commit is contained in:
Simon Welsh 2014-08-21 12:49:50 +10:00
commit c4ea64e743

View File

@ -8,7 +8,7 @@
* It was built to facilitate testing using PHPUnit and contains a number of assert methods that will throw PHPUnit * It was built to facilitate testing using PHPUnit and contains a number of assert methods that will throw PHPUnit
* assertion exception when applicable. * assertion exception when applicable.
* *
* Tries to use the PHP Tidy extension (http://php.net/tidy), * Tries to use the PHP tidy extension (http://php.net/tidy),
* and falls back to the "tidy" CLI tool. If none of those exists, * and falls back to the "tidy" CLI tool. If none of those exists,
* the string is parsed directly without sanitization. * the string is parsed directly without sanitization.
* *
@ -23,8 +23,8 @@ class CSSContentParser extends Object {
public function __construct($content) { public function __construct($content) {
if(extension_loaded('tidy')) { if(extension_loaded('tidy')) {
// using the tiny php extension // using the tidy php extension
$tidy = new Tidy(); $tidy = new tidy();
$tidy->parseString( $tidy->parseString(
$content, $content,
array( array(