Added more char exceptions to mapping extension (#2010)

This commit is contained in:
Timothy Carambat 2024-07-31 09:41:12 -07:00 committed by GitHub
parent 3856a4d19c
commit 20cd6b7481
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,20 @@ const Workspace = {
* @returns {string}
*/
slugify: function (...args) {
slugifyModule.extend({ "+": " plus ", "!": " bang " });
slugifyModule.extend({
"+": " plus ",
"!": " bang ",
"@": " at ",
"*": " splat ",
".": " dot ",
":": "",
"~": "",
"(": "",
")": "",
"'": "",
'"': "",
"|": "",
});
return slugifyModule(...args);
},