Skip to content

Commit

Permalink
#340 slug 에 물음표 사용할 수 없도록 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
akasima authored Jun 8, 2022
1 parent 91acc08 commit 9064f87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Models/BoardSlug.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public static function convert($title, $slug = null)

// remove double dash
$slug = str_replace('--', '-', $slug);
$slug = str_replace('?', '', $slug);

return $slug;
}
Expand Down

0 comments on commit 9064f87

Please sign in to comment.