re-indent correctly the HTML and fix some errors with some div