From: Andrew Dolgov Date: Thu, 1 Aug 2013 12:31:44 +0000 (+0400) Subject: highlight: remove unnecessary test for DomText X-Git-Tag: 1.10~46 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1bdbffcf11a9cef60beff2a6afba51ba0bb1e8c2;p=tt-rss.git highlight: remove unnecessary test for DomText --- diff --git a/include/functions.php b/include/functions.php index b4789aec..48111e40 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;