1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-01 14:20:16 +02:00

Update CaschyBridge.php (#3261)

prevents the bug #3259 that quote-blocks will be displayed multiple times
This commit is contained in:
Tone
2023-02-15 22:20:22 +01:00
committed by GitHub
parent 286790727b
commit 5d4247dded

View File

@@ -61,13 +61,8 @@ class CaschyBridge extends FeedExpander
// reload html, as remove() is buggy // reload html, as remove() is buggy
$article = str_get_html($article->outertext); $article = str_get_html($article->outertext);
$content = $article->find('.entry-inner', 0); $content = $article->find('div.entry-inner', 0);
if ($content) { $item['content'] = $content;
$contentElements = $content->find(
'div, p, h3, ul, table, pre'
);
$item['content'] = implode('', $contentElements);
}
return $item; return $item;
} }