Refine HTML formatter

Before: http://f.cl.ly/items/1W113W3Q1A1g2g2e3o2k/expected.html
After: http://f.cl.ly/items/170r0t2q2g1n3y210d2w/expected.html