diff options
author | Andrew Dolgov <[email protected]> | 2013-08-01 16:31:44 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-08-01 16:31:44 +0400 |
commit | 1bdbffcf11a9cef60beff2a6afba51ba0bb1e8c2 (patch) | |
tree | 5a2aa55ff2c6e82f4d379e93c0560558c8e47179 /include/functions.php | |
parent | 79834eda77cf2ce6f896269c242b357f6f1fe9d2 (diff) |
highlight: remove unnecessary test for DomText
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 1 |
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; |