mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 11:26:31 +03:00
parent
62d737efe2
commit
717b0bdd9c
1 changed files with 6 additions and 2 deletions
|
@ -605,6 +605,12 @@ EOD;
|
||||||
|
|
||||||
$this->unescape_fb_emote($content);
|
$this->unescape_fb_emote($content);
|
||||||
|
|
||||||
|
// Restore links in the post before further parsing
|
||||||
|
$post = defaultLinkTo($post, self::URI);
|
||||||
|
|
||||||
|
// Restore links in the content before adding to the item
|
||||||
|
$content = defaultLinkTo($content, self::URI);
|
||||||
|
|
||||||
// Retrieve date of the post
|
// Retrieve date of the post
|
||||||
$date = $post->find('abbr')[0];
|
$date = $post->find('abbr')[0];
|
||||||
|
|
||||||
|
@ -631,8 +637,6 @@ EOD;
|
||||||
$uri = substr($uri, 0, strpos($uri, '?'));
|
$uri = substr($uri, 0, strpos($uri, '?'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$content = defaultLinkTo($content, self::URI);
|
|
||||||
|
|
||||||
//Build and add final item
|
//Build and add final item
|
||||||
$item['uri'] = htmlspecialchars_decode($uri);
|
$item['uri'] = htmlspecialchars_decode($uri);
|
||||||
$item['content'] = htmlspecialchars_decode($content);
|
$item['content'] = htmlspecialchars_decode($content);
|
||||||
|
|
Loading…
Reference in a new issue