Skip to content

Commit 08a5d99

Browse files
Update use-helper.ts
1 parent 42ca8ab commit 08a5d99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/composables/use-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export function useHelper() {
104104
const b = 'aaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnooooooooprrssssttuuuuuuuuwxyyzzz------';
105105
const p = new RegExp(a.split('').join('|'), 'g');
106106

107-
const result = input
107+
let result = input
108108
.toString()
109109
.toLowerCase()
110110
.replace(/[äöüß]/gi, (matched) => specialChars[matched.toLowerCase()]) // German special chars

0 commit comments

Comments
 (0)