Replace HTML tags with Markdown