cleans up formatting in progress html view page