From 228bc7ee1da27ac4040351c1e4713efc2307b758 Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Thu, 18 Jun 2026 17:41:23 +0200 Subject: [PATCH] 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 --- src/Readability.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Readability.php b/src/Readability.php index f586909..0c9f44e 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -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;