Skip to content

Commit 7b7f96d

Browse files
committed
normalize -> asciify, don't lowercase
1 parent e6ad0bc commit 7b7f96d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utilities.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2148,12 +2148,12 @@ var Utilities = {
21482148
* @param {String} text
21492149
* @return {String}
21502150
*/
2151-
normalize: function (text) {
2151+
asciify: function (text) {
21522152
let re = Zotero.Utilities.XRegExp('[^\\pL0-9]', 'g');
21532153
text = Zotero.Utilities.XRegExp.replace(text, re, '');
21542154
text = text.normalize('NFKD');
21552155
text = Zotero.Utilities.XRegExp.replace(text, re, '');
2156-
return text.toLowerCase();
2156+
return text;
21572157
},
21582158
}
21592159

0 commit comments

Comments
 (0)