いや違うわ、slugの作り方が悪いだけだ
```
const slug = name
.toLowerCase()
.replace(/ /g, "-")
.replace(/[^\w-]+/g, "");
```
いや違うわ、slugの作り方が悪いだけだ
```
const slug = name
.toLowerCase()
.replace(/ /g, "-")
.replace(/[^\w-]+/g, "");
```
I might need to make this manual and required in badge creation form instead of doing this 🤔
That's correct. Or `.replace(/[^\w-]+/g, "-");`
Added ID field, perhaps is more annoying to do manually but also gives people control over d tag.
多分なににしてもユーザからは問題なさそうなので(しらんけど)、簡単に治すなら`.replace(/[^\w-]+/g, "-");`くらいにしておくのが良いか
若しくはSpeaker Deckみたいに無理矢理ラテンアルファベットに変換するか