From 4c241a1319534649d22438e00cf1081cc38b4dc1 Mon Sep 17 00:00:00 2001 From: ahiles3005 Date: Sun, 21 Feb 2016 14:23:58 +0400 Subject: [PATCH] update for issue #192 --- bridges/TwitterBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/TwitterBridge.php b/bridges/TwitterBridge.php index cca80330..90dea5b3 100644 --- a/bridges/TwitterBridge.php +++ b/bridges/TwitterBridge.php @@ -65,7 +65,7 @@ class TwitterBridge extends BridgeAbstract{ $link->removeAttribute('title'); } $item->content = str_replace('href="/', 'href="https://twitter.com/', strip_tags($tweet->find('p.js-tweet-text', 0)->innertext, '')); // extract tweet text - $item->title = $item->fullname . ' (@' . $item->username . ') | ' . strip_targ($item->content); + $item->title = $item->fullname . ' (@' . $item->username . ') | ' . strip_tags($item->content); $this->items[] = $item; } }