Decrease threshold for displaying jitenon readings in table
This commit is contained in:
parent
298b25ed9e
commit
0cfa3a19df
|
@ -88,7 +88,7 @@ def __insert_headword_line(soup, entry):
|
||||||
def __do_display_yomikata_in_headword(entry):
|
def __do_display_yomikata_in_headword(entry):
|
||||||
if not re.match(r"^[ぁ-ヿ、]+$", entry.yomikata):
|
if not re.match(r"^[ぁ-ヿ、]+$", entry.yomikata):
|
||||||
return False
|
return False
|
||||||
elif len(entry.yomikata) > 15:
|
elif len(entry.yomikata) > 10:
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue