Hello folks, I started typing this as a question, and while testing further I found a work-around, but decided to post anyways just for future me and others who might search for this down the road.
I’m stumbled across this issue in some random testing for a project I’m working on. Essentially I’m storing a list (in the regular list field) of a tiddler. I don’t have control on the tiddler name (hence my other post about tiddler names with spaces). I finally overcame that and happened to test the tiddler name This tiddler is the greatest!!!
and everything broke. After some research and isolation, it seems like !!
is going to be a problem title, especially for list operations.
For example:
<$list filter="[list[This tiddler is the greatest!]]"></$list>
works fine
<$list filter="list[This tiddler is the greatest!!]]"></$list>
does NOT work
I believe this is due to the ability to use !!
as a field grabbing mechanism, like {{mytitle!!text}}
. I’ve also tried storing the title in a variable to see if that helped like:
\define mytitle() This tiddler is the greatest!!!
<$list filter="[list<mytitle>]">
</$list>
which still doesn’t work.
What does work though seems to be this:
[[This tiddler is the greatest!!!]get[list]enlist-input[]]
I guess the only interest I might have is that it would seem that for all the other “solutions” and plugins that do stuff with titles - everyone must have this same concern, and that the pattern I described above get[list]enlist-input[]
must actually be the standard (and not [list[...]
) behind the scenes to not be susceptible to this.