Fix table of contents under Pandoc 1.13.