forked from blallo/rss-bridge
[GooglePlusPost] Trim unnecessary tags
This commit is contained in:
parent
0e5cf0d14e
commit
f45405950d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue