mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-22 17:45:40 +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);
|
||||
|
||||
// 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
|
||||
$date = $post->find('abbr')[0];
|
||||
|
||||
|
@ -631,8 +637,6 @@ EOD;
|
|||
$uri = substr($uri, 0, strpos($uri, '?'));
|
||||
}
|
||||
|
||||
$content = defaultLinkTo($content, self::URI);
|
||||
|
||||
//Build and add final item
|
||||
$item['uri'] = htmlspecialchars_decode($uri);
|
||||
$item['content'] = htmlspecialchars_decode($content);
|
||||
|
|
Loading…
Reference in a new issue