From e6a536befcfd433aba66a3085e62792383867695 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sat, 15 Apr 2017 21:40:48 +0200 Subject: Lua filter: revert to non-destructuring filters We want to provide an interface familiar to users of other filtering libraries. --- test/lua/plain-to-para.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/lua/plain-to-para.lua') diff --git a/test/lua/plain-to-para.lua b/test/lua/plain-to-para.lua index a11edbbe2..aa12a97d3 100644 --- a/test/lua/plain-to-para.lua +++ b/test/lua/plain-to-para.lua @@ -1,6 +1,6 @@ return { - { Plain = function (content) - return pandoc.Para(content) + { Plain = function (elem) + return pandoc.Para(elem.content) end, } } -- cgit v1.2.3