pandoc.lua: re-add missing MetaMap function

This was a bug introduced in version 2.0.4 (commit
3f1f9536d4).
This commit is contained in:
Albert Krewinkel 2017-12-19 09:12:16 +01:00
parent f6abf15832
commit 46d3c95ecd
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

View file

@ -202,7 +202,10 @@ end
--- Meta map
-- @function MetaMap
-- @tparam table key_value_map a string-indexed map of meta values
M.MetaValue:create_constructor("MetaMap", function (mm) return mm end)
M.MetaMap = M.MetaValue:create_constructor(
"MetaMap",
function (mm) return mm end
)
--- Creates string to be used in meta data.
-- Does nothing, lua strings are meta strings.