diff --git a/filters/fi_mod_readability/init.php b/filters/fi_mod_readability/init.php index 51a9c51..cdb143d 100644 --- a/filters/fi_mod_readability/init.php +++ b/filters/fi_mod_readability/init.php @@ -92,7 +92,7 @@ public function perform_filter( $html, $config, $settings ){ } // Perform xpath on readability output if (isset($config['xpath'])){ - $html = ( new mod_xpath() )->perform_xpath( $html, $config ); + $html = ( new fi_mod_xpath() )->perform_filter( $html, $config, $settings ); // If no xpath for readability output perform simple cleanup } elseif(($cconfig = Feediron_Helper::getCleanupConfig($config))!== false) { $html = $content;