fix pandoc url formatting