Why can I not insert \ symbol by pasting?

I have this simple macro :

However when I do activate it, it expands like this :

I have tested it in many other apps and I guess the reason it fails is that KM interprets \ as some kind of tab.

Do I have to escape it perhaps?

Thank you for any help.

\t is a tab, yes.

You have to escape the backslash with another backslash. So this should work:

$\\theta$(%|%)
1 Like

Or you can turn off text processing in the action gear menu, but then the %|% token would not work.