diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2017-04-15 21:40:48 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2017-04-15 21:40:48 +0200 |
commit | e6a536befcfd433aba66a3085e62792383867695 (patch) | |
tree | fa72e18815578651383fc79cffcce6edd76b324d /test/lua/plain-to-para.lua | |
parent | 291e4f39e8a118a723f2981f1eb731a061b0f6c0 (diff) | |
download | pandoc-e6a536befcfd433aba66a3085e62792383867695.tar.gz |
Lua filter: revert to non-destructuring filters
We want to provide an interface familiar to users of other filtering
libraries.
Diffstat (limited to 'test/lua/plain-to-para.lua')
-rw-r--r-- | test/lua/plain-to-para.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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, } } |