summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-10-09 10:32:49 +0200
committeremkael <emkael@tlen.pl>2020-10-09 10:32:49 +0200
commita9e6a897c472bf715fb427fcc7d5e9d1526fb26a (patch)
tree75efa8089671f9dddfa09fc9ac4938076dd013d0
parent45dc75ef568b95ff4162761b4dedc3b9d4249a95 (diff)
No need to UTF-decode anymore
-rw-r--r--providers/Facebook.php2
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);