From cd6deac0b4bc00096b255b84e8c3d18676325df7 Mon Sep 17 00:00:00 2001 From: UndeadMaelys Date: Sat, 7 May 2022 10:20:33 +0200 Subject: [PATCH] fixed nouns not being properly checked in database --- converter.lua | 2 +- heonian-content | 2 +- test.html | 20 ++++++++++---------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/converter.lua b/converter.lua index 4f266f5..27df3a1 100644 --- a/converter.lua +++ b/converter.lua @@ -169,7 +169,7 @@ end function in_dictionary(str) for i=1, #words do - if words[i][1] == str then return true end + if strip_symbols(words[i][1]) == str then return true end end end diff --git a/heonian-content b/heonian-content index 19de519..6a40a51 160000 --- a/heonian-content +++ b/heonian-content @@ -1 +1 @@ -Subproject commit 19de5190c0876edbeb307f09b540a2c4d111b783 +Subproject commit 6a40a51d6ea7cf2bc2261ae783e8e7731b3fa007 diff --git a/test.html b/test.html index 6ffe7f9..70d3ed4 100644 --- a/test.html +++ b/test.html @@ -2862,8 +2862,8 @@ LU'NYA rila @@ -2896,8 +2896,8 @@ LU'NYA  @@ -3832,10 +3832,10 @@ mishipash ton -??? +noun -??? +color @@ -4162,16 +4162,16 @@ he, she, they, it - + -ri +ri.la -modifier +noun -sharp +horns