From f45405950db7b01dcfbca818f645e533f14836c1 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Mon, 19 Dec 2016 19:57:25 +0100 Subject: [PATCH] [GooglePlusPost] Trim unnecessary tags --- bridges/GooglePlusPostBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/GooglePlusPostBridge.php b/bridges/GooglePlusPostBridge.php index 6ee6565..64cc5ef 100644 --- a/bridges/GooglePlusPostBridge.php +++ b/bridges/GooglePlusPostBridge.php @@ -79,7 +79,7 @@ class GooglePlusPostBridge extends BridgeAbstract $content = $content->innertext; $item['content'] .= '
' . $content . '
'; - + $item['content'] = trim(strip_tags($item['content'], '

')); // extract plaintext $item['content_simple'] = $post->find('div.Al', 0)->plaintext; $this->items[] = $item;