Merge pull request #4613 from Mynacol/golem-add-table
Some checks failed
Lint / executable_php_files_check (push) Has been cancelled
Lint / phpcs (7.4) (push) Has been cancelled
Tests / phpunit8 (8.1) (push) Has been cancelled
Lint / phpcompatibility (7.4) (push) Has been cancelled
Build Image on Commit and Release / bake (push) Has been cancelled
Tests / phpunit8 (7.4) (push) Has been cancelled
Tests / phpunit8 (8.0) (push) Has been cancelled

[GolemBridge] Add tables to content
This commit is contained in:
Mynacol 2025-07-16 13:53:53 +02:00 committed by GitHub
commit d19ce75d4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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