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

XF 1.5 Should search find words in BBcode?

#1
This time I will ask before submitting it as a bug.

I colored text "gray" in a test post, editing the BBcode by hand. I then searched for that color and the post showed in the search results.

I believe that the search shouldn't match the color that is inside a BBcode [].

I use ElasticSearch on my board. Stripping tags is something that ElasticSearch can easily do.

So, is it a bug?

Here is my search.
https://xenforo.com/community/search/8248512/?q=gray&o=relevance&c[node]=6&c[user][0]=1926

Thanks!
 

Mike

XenForo developer
Staff member
#2
We don't strip the BB code from the post, so this is expected. There are situations where this could be useful as some things are printed or part of the content (quote attributions and URLs).

But as it stands, this is known and working roughly as we would anticipate.