Home Forums DITA and XMetaL Discussion Spaces in the URL Reply To: Spaces in the URL

Derek Read

Reply to: Spaces in the URL

Sort of good to hear, as I really can't see this being an issue.

Regarding the code, it pulls the title from the TOC file on the fly (as in when the pages and script are actually running in the browser. The TOC itself is generated during output generation and so the content in that file is fixed. It contains spaces if the titles in the topics contain spaces. The titles are displayed with real spaces in the TOC (because that's just HTML) but the code replaces those spaces with %20 to stay inline with RFC1738 for the links that a created and when you click on one of those that's what ends up in the address bar. Hope that makes sense.