highlight: remove unnecessary test for DomText

master
Andrew Dolgov 11 years ago
parent 79834eda77
commit 1bdbffcf11

@ -2867,7 +2867,6 @@
$elements = $xpath->query("//*/text()");
foreach ($elements as $child) {
if (!$child instanceof DomText) continue;
$fragment = $doc->createDocumentFragment();
$text = $child->textContent;

Loading…
Cancel
Save