From 9b750f7d879b1da386e49ecfd51ef9d023dc5d66 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Tue, 3 Oct 2017 13:13:45 +0200 Subject: Lua.PandocModule: promote addFunction to top level This reduces some boilerplate. --- data/pandoc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/pandoc.lua') diff --git a/data/pandoc.lua b/data/pandoc.lua index bce4e9326..e6cfbc90c 100644 --- a/data/pandoc.lua +++ b/data/pandoc.lua @@ -782,7 +782,7 @@ M.UpperAlpha = "UpperAlpha" -- assert(block.content[1].t == "Emph") function M.read(markup, format) format = format or "markdown" - local pd = pandoc.__read(format, markup) + local pd = pandoc._read(format, markup) if type(pd) == "string" then error(pd) else -- cgit v1.2.3