replace HTML with converted Markdown