Skip to content

Lua: calling :new function to create Pandoc Lua objects fails in v2.16 #7653

Open
@jjallaire

Description

@jjallaire

The following calls all yield an error in Pandoc v2.16 whereas they worked w/o problem in Pandoc 2.14.2:

Pandoc = function(el)
  local plain = pandoc.Plain:new({})
  local str = pandoc.Str:new('foo')
  local link = pandoc.Link:new({}, "#href")
end

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions