added method to clean a html string