mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-01-30 01:52:47 +00:00
minor update for scripts/gen_contents
This commit is contained in:
parent
a977a508d2
commit
83c99f1edf
@ -10,7 +10,7 @@ levels = {
|
||||
}
|
||||
|
||||
def to_id(t):
|
||||
return t.lower().replace(' ', '-').replace('`', '')
|
||||
return re.sub(r'[`(),]', '', t).lower().replace(' ', '-')
|
||||
|
||||
def to_text(t):
|
||||
return t.replace('`', '')
|
||||
|
Loading…
Reference in New Issue
Block a user