Replace html tags with markdown syntax