From 1bf32276aedf6b26759280eb32a9cc3188cba963 Mon Sep 17 00:00:00 2001 From: Bastien Dumont <bdumont@grandlyon.com> Date: Wed, 22 Mar 2023 16:42:03 +0100 Subject: [PATCH] add to lowercase --- src/helpers/sanitizeName.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helpers/sanitizeName.js b/src/helpers/sanitizeName.js index 6409f82..1ab3c48 100644 --- a/src/helpers/sanitizeName.js +++ b/src/helpers/sanitizeName.js @@ -22,6 +22,7 @@ const REPLACE_CHARS = { */ function sanitizeLastname(lastname) { return lastname + .toLowerCase() .replace(/[âêîôûäëïöüéà èç]/g, match => REPLACE_CHARS[match]) .trim() } -- GitLab