diff options
author | emkael <emkael@tlen.pl> | 2020-10-09 10:32:49 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-10-09 10:32:49 +0200 |
commit | a9e6a897c472bf715fb427fcc7d5e9d1526fb26a (patch) | |
tree | 75efa8089671f9dddfa09fc9ac4938076dd013d0 | |
parent | 45dc75ef568b95ff4162761b4dedc3b9d4249a95 (diff) |
No need to UTF-decode anymore
-rw-r--r-- | providers/Facebook.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |