added tags to the indexing spec
properly parse the generated html to build the toc