State Returning Text With Extra Characters After Package Upgrade
We have the following code - var expr = $('.CoveoSearchInterface').coveo('state', 'q');
With new package upgrade the search box text is returned with extra characters. For e.g. if we enter the search text as 'salesforce' above code is returning '<@- salesforce -@>'. The above code used to work fine before the package was upgraded to 1.901.4. Is it something to do with the package or we need to parse it.
<@- marker is injected in the query when you disable query syntax through the
data-enable-query-syntax=false attribute on the query box. But this value should not end up in the state (I tried it). Is there any custom code on your search page that might be interfering? Also, what version are you running?