1. 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

Discussion in 'Resolved Bug Reports' started by Jon W, Nov 25, 2013.

  1. Jon W

    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.
  2. Mike

    Mike XenForo Developer Staff Member

    I've just disabled double encoding here. It's really the only way to handle it right now.

Share This Page