-- Don't allow links in headings (notably drops auto verse links)
Header = function (element)
  return pandoc.walk_block(element, {
      Link = function (element)
        return element.content
      end
    })
end

Add filter for removing links from headings
Add filter for removing links from headings
