diff --git a/src/Api/Providers/Boards.php b/src/Api/Providers/Boards.php index f66fb308..5fcb602a 100644 --- a/src/Api/Providers/Boards.php +++ b/src/Api/Providers/Boards.php @@ -106,8 +106,8 @@ public function info($username, $board) */ protected function formatBoardName($board) { - $nameWithRemovedSpaces = str_replace(' ', '-', $board); - return function_exists('mb_strtolower') ? mb_strtolower($nameWithRemovedSpaces) : strtolower($nameWithRemovedSpaces); + $nameWithRemovedSpacesAndSingleQuotes = str_replace([' ', "'"], ['-', ''], $board); + return function_exists('mb_strtolower') ? mb_strtolower($nameWithRemovedSpacesAndSingleQuotes) : strtolower($nameWithRemovedSpacesAndSingleQuotes); } /**