Decrease threshold for displaying jitenon readings in table

This commit is contained in:
stephenmk 2023-04-23 14:45:34 -05:00
parent 298b25ed9e
commit 0cfa3a19df
No known key found for this signature in database
GPG key ID: B6DA730DB06235F1

View file

@ -88,7 +88,7 @@ def __insert_headword_line(soup, entry):
def __do_display_yomikata_in_headword(entry):
if not re.match(r"^[ぁ-ヿ、]+$", entry.yomikata):
return False
elif len(entry.yomikata) > 15:
elif len(entry.yomikata) > 10:
return False
else:
return True