You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently query search sanitization replace all non alphanumeric chars :
preg_replace('/[^[:alnum:] ]/', '', ...);
and accented chars like éèà... are removed too, making posts not findable for accented articles. Maybe supporting accented chars would be nice for all non english people using this demo app as a base ?
The text was updated successfully, but these errors were encountered:
…uiluz)
This PR was merged into the master branch.
Discussion
----------
Allow to search blog posts with unicode characters
This fixes#734.
The search engine is now more strict because it's case sensitive (if the post title is `Lorém ipsum`, `lorém` and `Lorem` gives no results; you must search for `Lorém`). I'd say it's OK because we're not building a real search engine. Thoughts?
Commits
-------
0e1c9d3 Allow to search blog posts with unicode characters
Hello,
Currently query search sanitization replace all non alphanumeric chars :
preg_replace('/[^[:alnum:] ]/', '', ...);
and accented chars like éèà... are removed too, making posts not findable for accented articles. Maybe supporting accented chars would be nice for all non english people using this demo app as a base ?
The text was updated successfully, but these errors were encountered: