html pretty mode improved