[HeiseBridge.php] Prevent Youtube videos from being filtered out (#4125)

This commit is contained in:
Tone 2024-06-10 19:40:07 +02:00 committed by GitHub
parent 36706a3dec
commit 87fa6ea71e
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, ol, 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, noscript iframe'
);
$item['content'] .= implode('', $contentElements);
}