mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:15:55 +00:00
readability: increase maximum source document size, reorganize the reddit plugin code a bit
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user