Work around Pandoc raw HTML issues