Skip to content
Snippets Groups Projects
Commit e395b52c authored by Nils G.'s avatar Nils G.
Browse files

Fixes #31: Do not strip umlauts in sanitize function

parent 14e67f85
No related branches found
No related tags found
No related merge requests found
......@@ -203,7 +203,7 @@ function submit(_button) {
switch (element.getAttribute("type")) {
case "text":
inputs[element.getAttribute("name")] = element.value.replace(
/[^0-9a-zA-Z\s]/g,
/[^\u0020\u00BF-\u1FFF\u2C00-\uD7FF\w]/g,
""
);
break;
......
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