--- a/markdown.lua Sat Nov 01 23:34:21 2014 +0000 +++ b/markdown.lua Sun May 07 20:02:53 2017 +0100 @@ -186,7 +186,7 @@ local match = {s:find(p, index)} if #match>0 and (#res==0 or match[1] < res[1]) then res = match end end - return unpack(res) + return table.unpack(res) end -- If a replacement array is specified, the range [start, stop] in the array is replaced