diff options
author | Andrew Dolgov <[email protected]> | 2016-08-02 12:25:54 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-08-02 12:25:54 +0300 |
commit | e487e92d705541c0aaa252db31cdc7237564be97 (patch) | |
tree | c76176c375aff710c52c3c288b5e37f16bbc23a9 /plugins/af_readability | |
parent | 49048482d89b5d428a309933fe27eddc23a234f2 (diff) |
readability: increase maximum source document size, reorganize the reddit plugin code a bit
Diffstat (limited to 'plugins/af_readability')
-rwxr-xr-x | plugins/af_readability/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_readability/init.php b/plugins/af_readability/init.php index f5b764d9c..f89576e3b 100755 --- a/plugins/af_readability/init.php +++ b/plugins/af_readability/init.php @@ -159,7 +159,7 @@ class Af_Readability extends Plugin { $tmp = fetch_file_contents($url); - if ($tmp && mb_strlen($tmp) < 65535 * 4) { + if ($tmp && mb_strlen($tmp) < 1024 * 500) { $tmpdoc = new DOMDocument("1.0", "UTF-8"); if (!$tmpdoc->loadHTML($tmp)) |