diff --git a/bridges/TwitterBridgeExtended.php b/bridges/TwitterBridgeExtended.php index e0e2607..df1e492 100644 --- a/bridges/TwitterBridgeExtended.php +++ b/bridges/TwitterBridgeExtended.php @@ -69,9 +69,12 @@ class TwitterBridgeExtended extends BridgeAbstract{ $link->removeAttribute('title'); } - // get tweet text - //$item->content = ''.$item->username.'

'.$item->fullname.'


'.str_replace('href="/', 'href="https://twitter.com/', $tweet->find('p.js-tweet-text', 0)->innertext).'
'; + // process emojis (reduce size) + foreach($tweet->find('img.Emoji') as $img){ + $img->style .= ' height: 1em;'; + } + // get tweet text $cleanedTweet = str_replace('href="/', 'href="https://twitter.com/', $tweet->find('p.js-tweet-text', 0)->innertext); $item->content = <<