Removed commented code from blogData.php
All checks were successful
🚀 Deploy website on push / 🎉 Deploy (push) Successful in 19s
All checks were successful
🚀 Deploy website on push / 🎉 Deploy (push) Successful in 19s
Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
parent
b28e7b2da5
commit
860c52e829
@ -673,11 +673,6 @@ EOD;
|
||||
*/
|
||||
public function changeHTMLSrc(string $body, string $to, string $from): string
|
||||
{
|
||||
// $body = preg_replace_callback('/>([^<]+)</', function($matches) {
|
||||
// // Convert special characters to HTML entities
|
||||
// return '>' . htmlentities(trim($matches[1]), ENT_QUOTES | ENT_HTML5, 'UTF-8') . '<';
|
||||
// }, $body);
|
||||
|
||||
$htmlDoc = new DOMDocument();
|
||||
|
||||
// Load the raw HTML content into DOMDocument
|
||||
|
Loading…
Reference in New Issue
Block a user