fixed HTML tags causing incorrect Markdown output