summaryrefslogtreecommitdiff
path: root/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2024-06-13 15:22:47 +0300
committerAndrew Dolgov <[email protected]>2024-06-13 15:22:47 +0300
commit6fa51adb5e663fe01d7d01f75f8029393f3fbc2e (patch)
tree1ee62ec76f7cd0879b03dd55150f067d8f19bbd9 /init.php
parent4dd70d93d60fbc20d127a8259ac568df4bdd8564 (diff)
parentf2169ca419be339fa5ba32d0a50770f3d442d8b7 (diff)
Merge branch 'master' of gitlab.tt-rss.org:tt-rss/plugins/ttrss-af-readabilityHEADmaster
Diffstat (limited to 'init.php')
-rwxr-xr-xinit.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/init.php b/init.php
index 604d93f..e34f15b 100755
--- a/init.php
+++ b/init.php
@@ -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)) {