Fix title parser
This commit is contained in:
@@ -33,9 +33,11 @@ class InpTitle:
|
||||
|
||||
|
||||
def inp_in_title(section: list[str]) -> ChangeSet:
|
||||
if section == []:
|
||||
return ChangeSet()
|
||||
|
||||
obj = InpTitle(section)
|
||||
cs = ChangeSet(g_update_prefix | {'type': 'title', 'value' : obj.value})
|
||||
return cs
|
||||
return ChangeSet(g_update_prefix | {'type': 'title', 'value' : obj.value})
|
||||
|
||||
|
||||
def inp_out_title(name: str) -> list[str]:
|
||||
|
||||
Reference in New Issue
Block a user