mirror of
https://github.com/j0k3r/php-readability.git
synced 2026-09-27 06:26:17 +00:00
Change visibility of Readability::loadHtml() to public
This change is required for usecases where we want to load the DOM without going through the whole init() process Related to https://github.com/j0k3r/graby/pull/392 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
+1
-1
@@ -1380,7 +1380,7 @@ class Readability implements LoggerAwareInterface
|
||||
* Apply Pre filters
|
||||
* Cleanup HTML using Tidy (or not).
|
||||
*/
|
||||
private function loadHtml(): void
|
||||
public function loadHtml(): void
|
||||
{
|
||||
$this->original_html = $this->html;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user