Skip to content

Commit

Permalink
Merge pull request #1515 from Dreckiger-Dan/patch-1
Browse files Browse the repository at this point in the history
[HeiseBridge] add TechStage support
  • Loading branch information
teromene authored Apr 3, 2020
2 parents 413ae3c + cccd390 commit 5eeda8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bridges/HeiseBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ private function addArticleToItem($item, $article) {

$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;
}
Expand Down

0 comments on commit 5eeda8d

Please sign in to comment.