diff options
Diffstat (limited to 'src/HTMLParser.php')
-rw-r--r-- | src/HTMLParser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTMLParser.php b/src/HTMLParser.php index 649a74f..2d13c44 100644 --- a/src/HTMLParser.php +++ b/src/HTMLParser.php @@ -231,7 +231,7 @@ class HTMLParser public function getLinkDensity($readability) { $linkLength = 0; - $textLength = strlen($readability->getTextContent(true)); + $textLength = mb_strlen($readability->getTextContent(true)); if (!$textLength) { return 0; |