Allow formatting in EPUB table of contents.

Fixes jgm/pandoc#1611.