summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-08-01 16:31:44 +0400
committerAndrew Dolgov <[email protected]>2013-08-01 16:31:44 +0400
commit1bdbffcf11a9cef60beff2a6afba51ba0bb1e8c2 (patch)
tree5a2aa55ff2c6e82f4d379e93c0560558c8e47179 /include
parent79834eda77cf2ce6f896269c242b357f6f1fe9d2 (diff)
highlight: remove unnecessary test for DomText
Diffstat (limited to 'include')
-rw-r--r--include/functions.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index b4789aec9..48111e409 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;