Handle unset text
This commit is contained in:
parent
2909fb8c7d
commit
fe34ef0050
@ -30,7 +30,9 @@ local function cmd(args)
|
||||
hfield.attrs[i] = v
|
||||
end
|
||||
hfield.children[1] = {}
|
||||
if field.children[1] ~= nil then
|
||||
hfield.children[1].text = field.children[1].text
|
||||
end
|
||||
table.insert(hfields.children,hfield)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user