You've already forked simple-icons
mirror of
https://github.com/simple-icons/simple-icons.git
synced 2025-07-12 22:21:23 +02:00
Disallow underscores in slugs & filenames (#4921)
This commit is contained in:
@ -27,7 +27,7 @@ module.exports = {
|
||||
.replace(/ŧ/g, "t")
|
||||
.normalize("NFD")
|
||||
.replace(/[\u0300-\u036f]/g, "")
|
||||
.replace(/[^a-z0-9_\-]/g, "")
|
||||
.replace(/[^a-z0-9\-]/g, "")
|
||||
),
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user