columns
columns copied to clipboard
Error in columns.lua with Pandoc 2.5
While testing with README.md and make, pandoc throws some errors like :
Error running filter columns.lua:
columns.lua:71: attempt to call a nil value (method 'insert')
stack traceback:
columns.lua:71: in function <columns.lua:53>
(...tail calls...)
It seems to be due to an import error with pandoc.List
Thanks. Actually the pandoc.List insert
method was only introduced in 2.9. We could make the filter backwards compatible by using Lua's native table.insert method. For the time being I've just added a requirement of pandoc >= 2.9.