Skip to content

Commit

Permalink
[PikabuBridge] Remove whitespace from fake news marker
Browse files Browse the repository at this point in the history
  • Loading branch information
em92 committed Jul 23, 2021
1 parent 4a1e26f commit 0ee549f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/PikabuBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function collectData(){
// 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();
Expand Down

0 comments on commit 0ee549f

Please sign in to comment.