From a9e6a897c472bf715fb427fcc7d5e9d1526fb26a Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 9 Oct 2020 10:32:49 +0200 Subject: No need to UTF-decode anymore --- providers/Facebook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/Facebook.php b/providers/Facebook.php index beb8f98..de863fd 100644 --- a/providers/Facebook.php +++ b/providers/Facebook.php @@ -49,7 +49,7 @@ class Facebook extends \Providers\HtmlFeed { $key = ((array)($data['story_fbid']))[0]; $texts = []; foreach ($header->find('p, h3') as $paragraph) { - $texts[] = utf8_decode($paragraph->text()); + $texts[] = $paragraph->text(); } if (isset($this->_options['dump'])) { print_r($data); -- cgit v1.2.3