Jeremy,

That is a very enlightening way of explaining it. I wasn't sure where in
the docs this exact explanation would fit, but I did make a PR at
https://github.com/Jermolene/TiddlyWiki5/pull/6417 which adds warnings
about the non-recursive nature of attribute value processing.

On Sun, Jan 23, 2022 at 8:41 AM Jeremy Ruston <jeremy.rus...@gmail.com>
wrote:
[...]

> A simple tranclusion like the following works in two distinct steps:
> first, it retrieves the text of the tiddler "foobar", and then it
> recursively processes the retrieved text as if it had appeared in the same
> place as the transclusion. This deals with any wikitext within it.
>
> ```
> {{foobar}}
> ```
>
> In the case of using a transclusion as an attribute we get the same
> actions: it retrieves the text of the transcluded tiddler and then treats
> the text as if it had appeared in the same place as the transclusion, which
> means that it is treated as a literal string.
>
> ```
> <div id={{foobar}}>
> ```
>

-- 
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/CAO5X8CxRnvwVPxRqUZD8bHS99ogZD%2BMdgTtyQWY_urp6VB0WNg%40mail.gmail.com.

Reply via email to