fix: HTML output in Markdown backend