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
commit c9c2944e7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
}