diff options
Diffstat (limited to 'articleenhancer')
-rw-r--r-- | articleenhancer/xpatharticleenhancer.php | 2 |
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(); |