Skip to content

Commit

Permalink
[HeiseBridge] add TechStage support
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreckiger-Dan authored Mar 31, 2020
1 parent 366d2d6 commit cccd390
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 cccd390

Please sign in to comment.