1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-26 04:52:43 +00:00

Fix the broken header links

This commit is contained in:
Jocelyn Badgley (Twipped)
2021-08-27 11:53:38 -07:00
parent 69c003d008
commit d542e8b23d
2 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
const slugs = require('slugify');
module.exports = exports = function slugify (s) {
return slugs(s, { remove: /[*+~.,()'"!?:@/\\]/g }).toLowerCase();
const result = slugs(s, { remove: /[*+~.,()'"!?:@/\\]/g }).toLowerCase();
return result;
};