Just for the record:
won't result in "TWOChapter Title" as the TOC value. It will display as "TWO Chapter Title". There is no real reason to add either leading or trailing spaces. Of course, as has already been stated, you can specify the desired title value by using the title attribute. Alternately you could just edit it the values directly in the .ncx file after generating the TOC.