[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

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