[TwitterBridgeExtended] Use inline-blocks to format HTML output
This commit is contained in:
parent
0683457eb3
commit
faacbda027
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue