git.iko.soy/typeable/pandoc
on master help sign in
pandoc.lua: re-add missing MetaMap function
46d3c95Albert Krewinkel
data/pandoc.lua+4−1
@@ -202,7 +202,10 @@ end
202--- Meta map
202--- Meta map
203-- @function MetaMap
203-- @function MetaMap
204-- @tparam table key_value_map a string-indexed map of meta values
204-- @tparam table key_value_map a string-indexed map of meta values
205−M.MetaValue:create_constructor("MetaMap", function (mm) return mm end)
205+M.MetaMap = M.MetaValue:create_constructor(
206+ "MetaMap",
207+ function (mm) return mm end
208+)
206
209
207--- Creates string to be used in meta data.
210--- Creates string to be used in meta data.
208-- Does nothing, lua strings are meta strings.
211-- Does nothing, lua strings are meta strings.