Fix example in lua-filters docs. Fixes #4459 (#4476)

This commit is contained in:
HeirOfNorton 2018-03-19 23:43:43 -05:00 committed by John MacFarlane
parent 904f82176d
commit f5b89b5adb

View file

@ -351,7 +351,7 @@ local vars = {}
function get_vars (meta) function get_vars (meta)
for k, v in pairs(meta) do for k, v in pairs(meta) do
if v.t == 'MetaInlines' then if v.t == 'MetaInlines' then
vars["$" .. k .. "$"] = v vars["$" .. k .. "$"] = {table.unpack(v)}
end end
end end
end end