Parser: Avoid producing <span></span> in the TOC