Fix bug in Normalise Unicode operation: replace nfc by nfkc
This commit is contained in:
1 parent
d720a6b250
commit
738ee33959
2 files changed
+2
-2
No files matched your search
@@ -51,7 +51,7 @@ class NormaliseUnicode extends Operation {
|
||||
case "NFKD":
|
||||
return unorm.nfkd(input);
|
||||
case "NFKC":
|
||||
return unorm.nfc(input);
|
||||
return unorm.nfkc(input);
|
||||
default:
|
||||
throw new OperationError("Unknown Normalisation Form");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user