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 8e45636d2..23af24893 100644
--- a/articleenhancer/xpatharticleenhancer.php
+++ b/articleenhancer/xpatharticleenhancer.php
@@ -53,7 +53,7 @@ class XPathArticleEnhancer implements ArticleEnhancer {
if(preg_match('/(?<=charset=)[^;]*/', $contentType, $matches)) {
$encoding = $matches[0];
$body = mb_convert_encoding($body, 'HTML-ENTITIES',
- $encoding);
+ strtoupper($encoding));
}
$dom = new DOMDocument();