From 860c52e829b8dd7e92fcd0b691c28264d0a66abd Mon Sep 17 00:00:00 2001 From: rodude123 Date: Mon, 4 Nov 2024 22:28:23 +0000 Subject: [PATCH] Removed commented code from blogData.php Signed-off-by: rodude123 --- src/api/blog/blogData.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/api/blog/blogData.php b/src/api/blog/blogData.php index cfa375b..d6128fb 100644 --- a/src/api/blog/blogData.php +++ b/src/api/blog/blogData.php @@ -673,11 +673,6 @@ EOD; */ public function changeHTMLSrc(string $body, string $to, string $from): string { -// $body = preg_replace_callback('/>([^<]+)' . htmlentities(trim($matches[1]), ENT_QUOTES | ENT_HTML5, 'UTF-8') . '<'; -// }, $body); - $htmlDoc = new DOMDocument(); // Load the raw HTML content into DOMDocument