From f10724f1e16b6532967def093e7e6f091738f8b9 Mon Sep 17 00:00:00 2001 From: Yugay Vasiliy <31739813+Vas9ka@users.noreply.github.com> Date: Tue, 18 Jun 2024 13:19:05 +0200 Subject: [PATCH] Fix converter cuneiform (#485) * * Wrapped css into class * fixed upper case --- .../ui/CuneiformConverter/CuneiformConverterForm.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/chronology/ui/CuneiformConverter/CuneiformConverterForm.tsx b/src/chronology/ui/CuneiformConverter/CuneiformConverterForm.tsx index dbb2121e8..9945498a0 100644 --- a/src/chronology/ui/CuneiformConverter/CuneiformConverterForm.tsx +++ b/src/chronology/ui/CuneiformConverter/CuneiformConverterForm.tsx @@ -21,7 +21,9 @@ function CuneiformConverterForm({ const handleConvert = () => { const lines = content.split('\n') - const replacedLines = lines.map((line) => replaceTransliteration(line)) + const replacedLines = lines.map((line) => + replaceTransliteration(line.toLowerCase()) + ) Promise.all( replacedLines