summaryrefslogtreecommitdiffstats
path: root/articleenhancer/xpatharticleenhancer.php
diff options
context:
space:
mode:
Diffstat (limited to 'articleenhancer/xpatharticleenhancer.php')
-rw-r--r--articleenhancer/xpatharticleenhancer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/articleenhancer/xpatharticleenhancer.php b/articleenhancer/xpatharticleenhancer.php
index 6761fd0c5..ecde135bf 100644
--- a/articleenhancer/xpatharticleenhancer.php
+++ b/articleenhancer/xpatharticleenhancer.php
@@ -136,7 +136,7 @@ class XPathArticleEnhancer implements ArticleEnhancer {
// remove <html></html>
$dom->replaceChild($dom->firstChild->firstChild, $dom->firstChild);
- $substitution = array("href", "src");
+ $substitution = ["href", "src"];
foreach ($substitution as $attribute) {
$xpath = new \DOMXpath($dom);