Added feature to remove whitespaces in html