summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/af_readability/vendor/andreskrey/readability.php/src/Readability.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_readability/vendor/andreskrey/readability.php/src/Readability.php b/plugins/af_readability/vendor/andreskrey/readability.php/src/Readability.php
index 6bcbf78d7..332c96288 100644
--- a/plugins/af_readability/vendor/andreskrey/readability.php/src/Readability.php
+++ b/plugins/af_readability/vendor/andreskrey/readability.php/src/Readability.php
@@ -195,7 +195,7 @@ class Readability
// No luck after removing flags, just return the longest text we found during the different loops
usort($this->attempts, function ($a, $b) {
- return $a['textLength'] < $b['textLength'];
+ return $b['textLength'] - $a['textLength'];
});
// But first check if we actually have something