diff options
author | Andrew Dolgov <[email protected]> | 2024-06-13 15:22:47 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2024-06-13 15:22:47 +0300 |
commit | 6fa51adb5e663fe01d7d01f75f8029393f3fbc2e (patch) | |
tree | 1ee62ec76f7cd0879b03dd55150f067d8f19bbd9 /init.php | |
parent | 4dd70d93d60fbc20d127a8259ac568df4bdd8564 (diff) | |
parent | f2169ca419be339fa5ba32d0a50770f3d442d8b7 (diff) |
Diffstat (limited to 'init.php')
-rwxr-xr-x | init.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -220,8 +220,9 @@ class Af_Readability extends Plugin { try { $r = new Readability(new Configuration([ - 'fixRelativeURLs' => true, - 'originalURL' => $url, + 'FixRelativeURLs' => true, + 'OriginalURL' => $url, + 'ExtraIgnoredElements' => ['template'], ])); if ($r->parse($tmp)) { |