Dear,
In a previous ticket, you have provided me a custom code to apply in my functions.php for fixing a scenario where some code get displayed when clicking in the ajax search result on a product containing the caracter '
https://xtemos.com/forums/topic/incorrect-result-name-when-hitting-on-result-product/
However, I no longer wish to keep this a custom code because this issue can be easily replicated in your demo store if you add a product with this caracter. Please be aware that this caracter is a very common on in certain language, such as mine in French. Therefore, your theme should be fully compatible by default with this caracter as a language value.
The second reason why this code should not longer be accepted as a custom code is because it’s a too big length of code to override. This can cause conflicts with future updates in which you could perfectly decide to improve some part of the code included in this section. I have an example of this => you recently made an improvement to add compatibility with Relevanssi but this code was overriding the improvement with oldated values, so it’s not good at all as this code provided is now outdated for the Relevanssi part.
So please include the fix in the default theme code & check again twice before copy pasting the code provided in that ticket before adding it in the theme.
Thanks