Skip to content

Commit

Permalink
Adds support for á and ṣ
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasdotcom committed Nov 4, 2022
1 parent 88ed100 commit ba7e696
Show file tree
Hide file tree
Showing 3 changed files with 1,422 additions and 3 deletions.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ var characterMap = {
"ầ": "a",
"ằ": "a",
"ȃ": "a",
"á": "a",
"ç": "c",
"ḉ": "c",
"è": "e",
Expand Down Expand Up @@ -219,6 +220,7 @@ var characterMap = {
"ş": "s",
"Š": "S",
"š": "s",
"ṣ": "s",
"Ţ": "T",
"ţ": "t",
"ț": "t",
Expand Down Expand Up @@ -418,4 +420,4 @@ var hasAccents = function(string) {

module.exports = removeAccents;
module.exports.has = hasAccents;
module.exports.remove = removeAccents;
module.exports.remove = removeAccents;
Loading

0 comments on commit ba7e696

Please sign in to comment.