Thank you Eric, that does it (of course) and I appreciate the explanation! cmari
On Sep 20, 2:58 pm, Eric Shulman <elsdes...@gmail.com> wrote: > > If I give a tiddler a single word title (and the tag "journal"), the > > tiddler will be listed by this script, but the tiddler title is not a > > link. Why is that? > > change this: > titles.push(String.encodeTiddlyLink(tids[i].title)); > to > titles.push('[['+tids[i].title+']]'); > > The problem is that the String.encodeTiddlyLink() function adds the > [[...]] around links that contain spaces, but doesn't do the same for > links that are non-WikiWords. In this particular use-case, you want > to ensure that every title that is output is a link, so adding hard- > coded '[[' and ']]' is a workable solution. > > enjoy, > -e --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~----------~----~----~----~------~----~------~--~---