mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 16:15:55 +00:00
highlight: remove unnecessary test for DomText
This commit is contained in:
@@ -2867,7 +2867,6 @@
|
||||
$elements = $xpath->query("//*/text()");
|
||||
|
||||
foreach ($elements as $child) {
|
||||
if (!$child instanceof DomText) continue;
|
||||
|
||||
$fragment = $doc->createDocumentFragment();
|
||||
$text = $child->textContent;
|
||||
|
||||
Reference in New Issue
Block a user