Lps 34294 add support for title attribute in TableOfContents tag

Tests passed before pull request