We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17448
    • 2 Posts
    Hello, i’m new in Modx development and i have a little problem with the AjaxSearch Snippet.

    The problem appear when i search a word with a sepcial caracter like "é, à, < or anything else" and use the simple url on my site. The word that i search is not correctly highlighting in the content of my page. The problem disappear when the simple url are not activate.

    For exemple, if i do a search on "après" (the french word for "after" in english), all the word which started with "apr" are highlighted in the content of the page.

    I thing it was a problem with the caracter "&" transmitted by the simple url of the html code of "é".

    Can anybody help me?

    Thanks wink

      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: loop at Sep 29, 2006, 04:34 AM

      Hello, i’m new in Modx development and i have a little problem with the AjaxSearch Snippet.

      The problem appear when i search a word with a sepcial caracter like "é, à, < or anything else" and use the simple url on my site. The word that i search is not correctly highlighting in the content of my page. The problem disappear when the simple url are not activate.

      For exemple, if i do a search on "après" (the french word for "after" in english), all the word which started with "apr" are highlighted in the content of the page.

      I thing it was a problem with the caracter "&" transmitted by the simple url of the html code of "é".

      Can anybody help me?

      Thanks wink
      Since such characters are not legal in a URL without being escaped, I imagine that is the problem. I’ll have to research this more unless someone else has some time? :/