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