diff --git a/include/functions.php b/include/functions.php index b4789aec9..48111e409 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2867,7 +2867,6 @@ $elements = $xpath->query("//*/text()"); foreach ($elements as $child) { - if (!$child instanceof DomText) continue; $fragment = $doc->createDocumentFragment(); $text = $child->textContent;