mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
Merge pull request #3838 from Mynacol/golem-add-h2
[GolemBridge] Add h2 elements from article content
This commit is contained in:
commit
c9c2944e7c
@ -132,7 +132,7 @@ class GolemBridge extends FeedExpander
|
|||||||
$img->src = $img->getAttribute('data-src-full');
|
$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;
|
$item .= $element;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user