We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72fa3ab commit 09ccc3aCopy full SHA for 09ccc3a
src/Readability.php
@@ -37,9 +37,6 @@ class Readability implements LoggerAwareInterface
37
public $url = null;
38
// preserves more content (experimental)
39
public $lightClean = true;
40
- // no more used, keept to avoid BC
41
- public $debug = false;
42
- public $tidied = false;
43
44
/**
45
* All of the regular expressions in use within readability.
@@ -1419,7 +1416,6 @@ private function loadHtml(): void
1419
1416
1420
1417
$tidy = tidy_repair_string($this->html, $this->tidy_config, 'UTF8');
1421
1418
if (false !== $tidy && $this->html !== $tidy) {
1422
- $this->tidied = true;
1423
$this->html = $tidy;
1424
$this->html = preg_replace('/[\r\n]+/is', "\n", $this->html);
1425
}
0 commit comments