mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2025-12-31 17:00:46 +00:00
Tweaked tag parsing
This commit is contained in:
@@ -51,7 +51,7 @@ class TagListVisitor(NodeVisitor):
|
|||||||
modifier_opt, line_opt, _, tag_list_opt = visited_children
|
modifier_opt, line_opt, _, tag_list_opt = visited_children
|
||||||
|
|
||||||
return TaggedStringResult(content=next(iter(line_opt), None),
|
return TaggedStringResult(content=next(iter(line_opt), None),
|
||||||
tag_dict=next(iter(tag_list_opt), None),
|
tag_dict=next(iter(tag_list_opt), []),
|
||||||
mode=TagPreModes(next(iter(modifier_opt), 'Normal'))
|
mode=TagPreModes(next(iter(modifier_opt), 'Normal'))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user