mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 18:11:29 +00:00
Merge branch 'master' of git.fakecake.org:tt-rss
This commit is contained in:
@@ -178,7 +178,7 @@ class Af_Readability extends Plugin {
|
|||||||
|
|
||||||
// this is the worst hack yet :(
|
// this is the worst hack yet :(
|
||||||
if (strtolower($tmpdoc->encoding) != 'utf-8') {
|
if (strtolower($tmpdoc->encoding) != 'utf-8') {
|
||||||
$tmp = preg_replace("/<meta.*?charset.*?\/>/i", "", $tmp);
|
$tmp = preg_replace("/<meta.*?charset.*?\/?>/i", "", $tmp);
|
||||||
$tmp = mb_convert_encoding($tmp, 'utf-8', $tmpdoc->encoding);
|
$tmp = mb_convert_encoding($tmp, 'utf-8', $tmpdoc->encoding);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user