Clean structure of html in markdown