On Tuesday, April 25, 2023 at 8:40:38 AM UTC-7 springer wrote:

```
<$macrocall
$name="toc-tabbed-external-nav"
tag="Common Operators"
    exclude="all Operator"
/>
```
As best I can tell, it fails when BOTH the tag and the exclude string have 
spaces.


Before the TOC code change, the `excluded` variable contained a ***list of 
tiddlers titles*** that had already been "visited" and was applied 
internally using `-[enlist<excluded>]` to prevent infinite "loops" in the 
tree.  In v5.3.0-prerelease, this variable can now also use filter syntax 
to generate a list of tiddler titles to be excluded (applied internally 
using `-[subfilter<excluded>]`).  The TOC code changes also now permit this 
parameter to be passed in to `toc-tabbed-external-nav`.  Since the value 
has always operated on a LIST, the correct usage to pass a specified title 
containing a space would be `exclude="[[all Operator]]"`

Note also that the `tag` parameter (used to specify the starting "root tag" 
for the tree) is NOT a list, and CAN contain spaces, since it is used 
internally via `tag<__tag__>`.

This DOES work as before:
```
<$macrocall
$name="toc-tabbed-external-nav"
tag="Common Operators"
    exclude="[[all Operator]]"
/>
```

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2fb0dadb-020f-4f2a-962f-44c99d8ea8cbn%40googlegroups.com.

Reply via email to