mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #3416 from halkyon/tidy_doc
CSSContentParser: Fix mispelled "tidy" and correct case of "tidy" class
This commit is contained in:
commit
c4ea64e743
@ -8,7 +8,7 @@
|
||||
* It was built to facilitate testing using PHPUnit and contains a number of assert methods that will throw PHPUnit
|
||||
* 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,
|
||||
* the string is parsed directly without sanitization.
|
||||
*
|
||||
@ -23,8 +23,8 @@ class CSSContentParser extends Object {
|
||||
|
||||
public function __construct($content) {
|
||||
if(extension_loaded('tidy')) {
|
||||
// using the tiny php extension
|
||||
$tidy = new Tidy();
|
||||
// using the tidy php extension
|
||||
$tidy = new tidy();
|
||||
$tidy->parseString(
|
||||
$content,
|
||||
array(
|
||||
|
Loading…
Reference in New Issue
Block a user