• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Search warning not appearing correctly for html entities

Jon W

Well-known member
While trying to perform a search with an ampersand in it (e.g., "Mike & Kier"), I noticed the following comes up in the results:
The following words were not included in your search because they are too short, too long, or too common: &

Think there might be a few things going on here -- may be browser dependent -- but, at the very least, I think the search_results template should probably output warnings as xen:raw or something similar.

I did notice that if an ampersand is included in the actual phrase it doesn't get converted into a html entity (separate bug?), so I think it may need a bit more than the above to properly fix the issue.