Skip to content

Commit

Permalink
Merge pull request RSS-Bridge#3838 from Mynacol/golem-add-h2
Browse files Browse the repository at this point in the history
[GolemBridge] Add h2 elements from article content
  • Loading branch information
Mynacol authored Dec 16, 2023
2 parents d4ae557 + 0116dde commit c9c2944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/GolemBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ private function extractContent($page)
$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;
}

Expand Down

0 comments on commit c9c2944

Please sign in to comment.