[PikabuBridge] Remove whitespace from fake news marker

This commit is contained in:
Eugene Molotov 2021-07-24 00:30:12 +05:00
parent 4a1e26fd07
commit 0ee549f468
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class PikabuBridge extends BridgeAbstract {
// adding special marker for "Maybe News" section
// these posts are fake
if (!is_null($community_link) && $community_link->getAttribute('href') == '/community/maybenews') {
$title = '[' . $community_link->innertext . '] ' . $title;
$title = '[' . trim($community_link->plaintext) . '] ' . $title;
}
$item = array();