commit
ca2951df30
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class TwitterBridge extends BridgeAbstract{
|
||||||
$link->removeAttribute('title');
|
$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->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 . ') | ' . $item->content;
|
$item->title = $item->fullname . ' (@' . $item->username . ') | ' . strip_tags($item->content);
|
||||||
$this->items[] = $item;
|
$this->items[] = $item;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue