Thanks, Thomas. That is another interesting workaround. It is certainly 
much more self-descriptive than my solution, so it would be easier to 
figure out what I did when I revisit this tiddler in six months and can't 
remember why I needed a workaround in the first place!

FYI, <$setvar> is from an excellent tobibeer plugin called setvars 
<http://tobibeer.github.io/tw5-plugins/#setvars> that, "sets multiple, 
complex variables based on attributes, filters, or conditionals." You only 
need it occasionally, but when you have a problem that fits its solution 
space it does the job superbly. The plugin also has a wide range of 
documented examples which are invaluable. In case you can't tell, I'm a 
huge fan!

David.

On Tuesday, 22 January 2019 06:35:39 UTC+9:30, Thomas Elmiger wrote:
>
> Hi David
>
> My wiki was not able to recognise a $setvars widget from your code two 
> post above ... 
>
> But I also have good news for you. I cannot guarantee that this covers any 
> case you throw at it, but it does cover wikilinks, the part of your first 
> example that is sensitive for double wikification: 
>
> <$set name="testVar" value="WikiLink ~NoWikiLink">
>
>   <!-- I expect <$wikify> to honour the tilde, ... -->
>
>   <$wikify name="testOutput1" text=<<testVar>> output="html">
> <$set name="tv-wikilinks" value="no">
>     <<testOutput1>>
> </$set>
>   </$wikify>
>
> </$set>
>
> <$set name="testVar" value="! Wiki Title – WikiTitle – ~WikiTitle">
>
>   <!-- I expect <$wikify> to honour the tilde, ... -->
>
>   <$wikify name="testOutput1" text=<<testVar>> output="html">
> <$set name="tv-wikilinks" value="no">
>     <<testOutput1>>
> </$set>
>   </$wikify>
>
> </$set>
>
> Is this what you are looking for?
>
> Good luck!
> Thomas
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f8292676-88c0-4397-b7ec-fc6492f6a6ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to