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 3ed0f59..16aa054 100644 --- a/marigold.lua +++ b/marigold.lua @@ -58,6 +58,11 @@ end marigold.h = function(tag_type, content, tbl) + if type(content) == 'table' and tbl == nil then + tbl = content + content = '' + end + local tag = {} tag.tag = tag_type tag.content = content |