Recover the html correctly