Avoid escaping characters for custom templating values


When setting a custom templating, the values are escaped when used on an Elasticsearch data source.
If I set a custom template with this values: (A OR B),(C OR D) and then try to use them on a query like: field:$myTemplate
It ends up: field:\\(A\\ OR\\ B\\) What is not what I wanted, I wanted them literal.

Any idea?

There is an open feature request for disabling escaping, no ETA for when that will happen.