Sanitize multilevel TOC titles.