update for issue #192

This commit is contained in:
ahiles3005 2016-02-21 14:23:58 +04:00
parent ab2492f292
commit 4c241a1319

View file

@ -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, '<a>')); // 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;
}
}