formatting html improvements