diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/registration.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/registration.js b/public/registration.js index 0533a48c3..a859313a2 100644 --- a/public/registration.js +++ b/public/registration.js @@ -34,7 +34,7 @@ function handleSubmit(e) { const value = element.value; if (!!element && ['text', 'email', 'textarea'].includes(element.type) && !!value) { - values.push(value.trim().toLowerCase()); + values.push(value.trim().toLowerCase().replace(/\r\n?/g, "\n")); } } |