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:
Kevin Decherf
2026-07-11 21:37:25 +02:00
parent 35b87585e7
commit 228bc7ee1d
+1 -1
View File
@@ -1380,7 +1380,7 @@ class Readability implements LoggerAwareInterface
* Apply Pre filters * Apply Pre filters
* Cleanup HTML using Tidy (or not). * Cleanup HTML using Tidy (or not).
*/ */
private function loadHtml(): void public function loadHtml(): void
{ {
$this->original_html = $this->html; $this->original_html = $this->html;