Convert Markdown to HTML, with XSS protection