[HeiseBridge] add TechStage support

This commit is contained in:
Dreckiger-Dan 2020-03-31 23:47:57 +02:00 committed by GitHub
parent 366d2d66b3
commit cccd390b0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ class HeiseBridge extends FeedExpander {
$content = $article->find('div[class*="article-content"]', 0);
if ($content == null)
$content = $article->find('#article_content', 0);
foreach($content->find('p, h3, ul, table, pre, img') as $element) {
$item['content'] .= $element;
}