1
0
Fork 0
forked from blallo/rss-bridge

[GooglePlusPost] Trim unnecessary tags

This commit is contained in:
logmanoriginal 2016-12-19 19:57:25 +01:00
parent 0e5cf0d14e
commit f45405950d

View file

@ -79,7 +79,7 @@ class GooglePlusPostBridge extends BridgeAbstract
$content = $content->innertext;
$item['content'] .= '<div style="margin-top: -1.5em">' . $content . '</div>';
$item['content'] = trim(strip_tags($item['content'], '<a><p><div><img>'));
// extract plaintext
$item['content_simple'] = $post->find('div.Al', 0)->plaintext;
$this->items[] = $item;