Workaround weird pandoc issue