Merge pull request #1515 from Dreckiger-Dan/patch-1

[HeiseBridge] add TechStage support
This commit is contained in:
Lyra 2020-04-03 09:50:08 +02:00 committed by GitHub
commit 5eeda8dd52
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;
}