Skip to content
Snippets Groups Projects
Unverified Commit 20cd6b74 authored by Timothy Carambat's avatar Timothy Carambat Committed by GitHub
Browse files

Added more char exceptions to mapping extension (#2010)

parent 3856a4d1
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,20 @@ const Workspace = { ...@@ -36,7 +36,20 @@ const Workspace = {
* @returns {string} * @returns {string}
*/ */
slugify: function (...args) { slugify: function (...args) {
slugifyModule.extend({ "+": " plus ", "!": " bang " }); slugifyModule.extend({
"+": " plus ",
"!": " bang ",
"@": " at ",
"*": " splat ",
".": " dot ",
":": "",
"~": "",
"(": "",
")": "",
"'": "",
'"': "",
"|": "",
});
return slugifyModule(...args); return slugifyModule(...args);
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment