]> git.wh0rd.org Git - tt-rss.git/commitdiff
highlight: remove unnecessary test for DomText
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 1 Aug 2013 12:31:44 +0000 (16:31 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 1 Aug 2013 12:31:44 +0000 (16:31 +0400)
include/functions.php

index b4789aec99e251e8e32bb4b9764d184119ef919d..48111e4095a3f97738c9431c51e70b7a2b59e491 100644 (file)
                                $elements = $xpath->query("//*/text()");
 
                                foreach ($elements as $child) {
-                                       if (!$child instanceof DomText) continue;
 
                                        $fragment = $doc->createDocumentFragment();
                                        $text = $child->textContent;