mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 14:18:35 +01:00
Update CaschyBridge.php (#3261)
prevents the bug #3259 that quote-blocks will be displayed multiple times
This commit is contained in:
parent
286790727b
commit
5d4247dded
@ -61,13 +61,8 @@ class CaschyBridge extends FeedExpander
|
||||
// reload html, as remove() is buggy
|
||||
$article = str_get_html($article->outertext);
|
||||
|
||||
$content = $article->find('.entry-inner', 0);
|
||||
if ($content) {
|
||||
$contentElements = $content->find(
|
||||
'div, p, h3, ul, table, pre'
|
||||
);
|
||||
$item['content'] = implode('', $contentElements);
|
||||
}
|
||||
$content = $article->find('div.entry-inner', 0);
|
||||
$item['content'] = $content;
|
||||
|
||||
return $item;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user