You can use a variable for pipe.
This works
<$vars l="[[" r="]]" x="|">{{{ hi HelloThere
+[join<x>addprefix<l>addsuffix<r>] }}}</$vars>
El martes, 20 de abril de 2021 a las 14:18:13 UTC+2, Mat escribió:
> I want to create a pretty title link in a filter. Unfortunately the pipe
> character in hi| breaks the filter (ref1
> <https://github.com/Jermolene/TiddlyWiki5/issues/4462>).
>
> E.g these attempts no worky:
>
> <$vars l="[[" r="]]">{{{ HelloThere
> +[addprefix[hi*|*]addprefix[l]addsuffix[r]]
> }}}</$vars>
>
> <$vars l="[[" r="]]">{{{ hi HelloThere +[join[*|*]addprefix[l]addsuffix[r]]
> }}}</$vars>
>
> Any ideas what to do? Maybe some magic regepx is needed but I don't know
> how to construct it in that case...
>
> <:-)
>
> ...Hm, that's like my fourth question today and I didn't even have lunch
> yet. I have no idea why they all mount up at the same time. I typically
> tiddle fiddle for days without questions.
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/8ab6c712-6efa-4119-be40-714adbcc6c62n%40googlegroups.com.