Previously, the line-spacing between different TOC items was almost the same as that between wrapped lines of the same item. This made it more diffucult to distinguish the different items. This commit fixes this by reducing the line-spacing between wrapped lines of the same item and keeping a larger line-spacing between different items. Before: ![toc line-spacing before][1] After: ![toc line-spacing after][2] [1]: https://user-images.githubusercontent.com/8604205/107255272-ccb81780-6a40-11eb-9612-4e7b2058417d.png [2]: https://user-images.githubusercontent.com/8604205/107255280-cd50ae00-6a40-11eb-8f60-9ce8fba10e12.png PR Close #40802