1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-05 08:07:33 +02:00

Merge pull request #3838 from Mynacol/golem-add-h2

[GolemBridge] Add h2 elements from article content
This commit is contained in:
Paul
2023-12-16 10:49:29 +01:00
committed by GitHub

View File

@@ -132,7 +132,7 @@ class GolemBridge extends FeedExpander
$img->src = $img->getAttribute('data-src-full');
}
foreach ($content->find('p, h1, h3, img[src*="."]') as $element) {
foreach ($content->find('p, h1, h2, h3, img[src*="."]') as $element) {
$item .= $element;
}