[format] eliminate withespace & [refactor] html