[TwitterBridgeExtended] Use inline-blocks to format HTML output

This commit is contained in:
logmanoriginal 2016-08-09 22:05:42 +02:00
parent 0683457eb3
commit faacbda027

View file

@ -78,9 +78,12 @@ class TwitterBridgeExtended extends BridgeAbstract{
$cleanedTweet = str_replace('href="/', 'href="https://twitter.com/', $tweet->find('p.js-tweet-text', 0)->innertext); $cleanedTweet = str_replace('href="/', 'href="https://twitter.com/', $tweet->find('p.js-tweet-text', 0)->innertext);
$item->content = <<<EOD $item->content = <<<EOD
<a href="https://twitter.com/{$item->username}"><img style="align:top;width:75px;" alt="{$item->username}" src="{$item->avatar}" /></a> <div style="display: inline-block; vertical-align: top;">
<p>{$item->fullname}</p><br/> <a href="https://twitter.com/{$item->username}"><img style="align: top; width:75 px;" alt="{$item->username}" src="{$item->avatar}" title="{$item->fullname}" /></a>
<blockquote>{$cleanedTweet}</blockquote> </div>
<div style="display: inline-block; vertical-align: top;">
<blockquote>{$cleanedTweet}</blockquote>
</div>
EOD; EOD;
// generate the title // generate the title