un-bork TOC markup