highlight: remove unnecessary test for DomText
This commit is contained in:
parent
79834eda77
commit
1bdbffcf11
1 changed files with 0 additions and 1 deletions
|
@ -2867,7 +2867,6 @@
|
|||
$elements = $xpath->query("//*/text()");
|
||||
|
||||
foreach ($elements as $child) {
|
||||
if (!$child instanceof DomText) continue;
|
||||
|
||||
$fragment = $doc->createDocumentFragment();
|
||||
$text = $child->textContent;
|
||||
|
|
Loading…
Reference in a new issue