Hi Tony > > Can we establish a "best practice" approach such that when creating a macro > to return a value in the first place, say we use the text widget to create > "clean" value for use in filters to avoid this kind of issue.
I’m not sure what issue? The issue here is that you were inadvertently wikifying a value; the fix is to not wikify it. > In my use case, I retrieved a value from a data tiddler to set a variable > currentWiki, I made this a global macro so I could refer to <<currentWiki>> > whenever I needed it. Perhaps I should have used the text widget to ensure > this value was already plain text. You should only use <<currentWiki>> to render a global macro if you want the content of the macro to be wikified. If you don’t, then you should use the <$text> or <$view> widgets. > Alternativly could filters themself be improved to clean variables before > use, or would this have undesirable consequences? What do you mean by “clean” variables? Best wishes Jeremy. > > Regards > Tony > > -- > 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 post to this group, send email to tiddlywiki@googlegroups.com. > 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/0122167d-cd8b-4e71-b798-bf48b2041332%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. 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/D23003E5-45DA-49E7-94AC-915425E35804%40gmail.com. For more options, visit https://groups.google.com/d/optout.