Handle repeated headings.
0.4.0 properly handles links with duplicate names