1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-04-08 02:26:35 +00:00

[HeiseBridge] Add missing <ol> elements ()

The following article has <ol> elements that were missing.
Adding them to have the full content.

https://heise.de/-9714438
This commit is contained in:
Mynacol 2024-05-18 16:51:00 +02:00 committed by GitHub
parent 7bde7a56f9
commit 75f35391fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -214,7 +214,7 @@ class HeiseBridge extends FeedExpander
$content = $article->find('.article-content', 0);
if ($content) {
$contentElements = $content->find(
'p, h3, ul, table, pre, noscript img, a-bilderstrecke h2, a-bilderstrecke figure, a-bilderstrecke figcaption'
'p, h3, ul, ol, table, pre, noscript img, a-bilderstrecke h2, a-bilderstrecke figure, a-bilderstrecke figcaption'
);
$item['content'] .= implode('', $contentElements);
}