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 "
extension ".__('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("//i", "", $tmp);
+ $tmp = preg_replace("//i", "", $tmp);
$tmp = mb_convert_encoding($tmp, 'utf-8', $tmpdoc->encoding);
}