1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-17 14:18:35 +01:00

[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

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();