Skip to content

Commit

Permalink
Optional emergency fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jissereitsma committed Dec 5, 2024
1 parent 55007bf commit 4b6191f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Util/HtmlReplacer.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function replace(string $html): string
*/
private function replaceImageTags(string $html): string
{
$html = $this->maskAngleBracketsInsideQuotes($html);
//$html = $this->maskAngleBracketsInsideQuotes($html);
$document = $this->domUtils->htmlToDOMDocument($html);
$images = $document->getElementsByTagName('img');
foreach ($images as $image) {
Expand All @@ -99,7 +99,8 @@ private function replaceImageTags(string $html): string
}
}

return $this->unmaskAngleBracketsInsideQuotes($html);
//$html = $this->unmaskAngleBracketsInsideQuotes($html);
return $html;
}

/**
Expand Down

0 comments on commit 4b6191f

Please sign in to comment.