diff options
author | sanine <sanine.not@pm.me> | 2022-09-02 15:42:37 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-09-02 15:42:37 -0500 |
commit | 9363bfcbd23b4652af40bf56273ade6f395539f4 (patch) | |
tree | edbdae3e4e4e2da3bf03a5dab4acf77d1e9f6479 | |
parent | e5139dc0a8b2a57f9ce1ee450825b98673afba97 (diff) |
-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 |