diff options
author | Andres Rey <[email protected]> | 2017-11-28 19:55:25 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2017-11-28 19:55:25 +0000 |
commit | f09e346ecb9f6977161ec6196bc796bab5ac463e (patch) | |
tree | 2f4e1aa0d766e84df61d5f5848e937c101f4ad70 | |
parent | 1c0e5d7b77d293f952528619a346f7e8fbb64f05 (diff) |
Indentation fix
-rw-r--r-- | src/Readability.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Readability.php b/src/Readability.php index 6738c4a..17e73d4 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -658,6 +658,7 @@ class Readability if (is_null($node->parentNode)) { continue; } + // Discard nodes with less than 25 characters, without blank space if (mb_strlen($node->getTextContent(true)) < 25) { continue; |