summaryrefslogtreecommitdiff
path: root/data/pandoc.lua
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2017-12-19 09:12:16 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2017-12-19 09:12:16 +0100
commit46d3c95ecd863d1385299ffb8e2b330e1fbdb2c1 (patch)
tree2574dac154e5267521ab73f9cd55f92bcba17478 /data/pandoc.lua
parentf6abf15832e4b41ed26b285b4a7c8f515ddb139f (diff)
pandoc.lua: re-add missing MetaMap function
This was a bug introduced in version 2.0.4 (commit 3f1f9536d4817bbdd797c01050a887fe4cdf347c).
Diffstat (limited to 'data/pandoc.lua')
-rw-r--r--data/pandoc.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/pandoc.lua b/data/pandoc.lua
index 85a4639ce..3be3b507a 100644
--- a/data/pandoc.lua
+++ b/data/pandoc.lua
@@ -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.