diff options
Diffstat (limited to 'marigold.lua')
-rw-r--r-- | marigold.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/marigold.lua b/marigold.lua index c01eecd..a6223df 100644 --- a/marigold.lua +++ b/marigold.lua @@ -63,6 +63,11 @@ marigold.h = function(tag_type, content, tbl) content = '' end + if content == nil then + tbl = {} + content = '' + end + local tag = {} tag.tag = tag_type tag.content = content |