diff options
author | Andrew Dolgov <[email protected]> | 2019-06-10 15:21:11 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-06-10 15:21:11 +0300 |
commit | fce869314a28c167b1e5af91a82ab50b2f718786 (patch) | |
tree | 505ad5f200c06a4b71b8e82c32ec0b74c2dc020b | |
parent | 66171b44dc7c5128cea4765bd4a7ac3b0c2aa947 (diff) | |
parent | e40c8daf2ef1ca0be9e4d1ff4655ce832ace5f0c (diff) |
Merge branch 'master' of git.fakecake.org:tt-rss
-rwxr-xr-x | plugins/af_readability/init.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/af_readability/init.php b/plugins/af_readability/init.php index 8bb368389..7f3c6db4d 100755 --- a/plugins/af_readability/init.php +++ b/plugins/af_readability/init.php @@ -48,7 +48,7 @@ class Af_Readability extends Plugin { function hook_prefs_tab($args) { if ($args != "prefFeeds") return; - print "<div dojoType='dijit.layout.AccordionPane' + print "<div dojoType='dijit.layout.AccordionPane' title=\"<i class='material-icons'>extension</i> ".__('Readability settings (af_readability)')."\">"; if (version_compare(PHP_VERSION, '5.6.0', '<')) { @@ -178,7 +178,7 @@ class Af_Readability extends Plugin { // this is the worst hack yet :( 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); } |