From cf961437f1ce47981053f039ead21b9b4a38b148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Vukovi=C4=87?= Date: Fri, 19 Jul 2024 18:18:42 +0200 Subject: [PATCH] [it] remove italian diacritics (#115) --- 4-make-yomitan.js | 1 + 1 file changed, 1 insertion(+) diff --git a/4-make-yomitan.js b/4-make-yomitan.js index a9629f4..3191d82 100644 --- a/4-make-yomitan.js +++ b/4-make-yomitan.js @@ -514,6 +514,7 @@ function normalizeOrthography(term) { case 'sga': case 'grc': case 'ro': + case 'it': return term.normalize('NFD').replace(/[\u0300-\u036f]/g, ''); case 'tl': return term.normalize('NFD').replace(/[\u0300-\u036f\-']/g, '');