Fixed TOC generation in a post