Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

& displayed in Algolia search results titles #37342

Closed
3 tasks done
julien-deramond opened this issue Oct 19, 2022 · 5 comments · Fixed by #37397
Closed
3 tasks done

& displayed in Algolia search results titles #37342

julien-deramond opened this issue Oct 19, 2022 · 5 comments · Fixed by #37397

Comments

@julien-deramond
Copy link
Member

julien-deramond commented Oct 19, 2022

Prerequisites

Describe the issue

& is displayed instead of & in Algolia search results titles in violet (.DocSearch-Hit-source).
We can see in the following screenshot: "Color & background" and "Color & Webpack".

Screenshot 2022-10-13 at 13 10 55

Interesting thing is that it is not the case for .DocSearch-Hit-title in the results:

Screenshot 2022-10-19 at 20 26 03

Reduced test cases

Go to https://getbootstrap.com/docs/5.2/getting-started/introduction/:

  1. Click on the search button
  2. Type "color back"

What operating system(s) are you seeing the problem on?

Windows, macOS, Android, iOS, Linux

What browser(s) are you seeing the problem on?

Chrome, Safari, Firefox, Microsoft Edge, Opera

What version of Bootstrap are you using?

v5.2.2

@manuelmeurer

This comment was marked as resolved.

@julien-deramond

This comment was marked as resolved.

@mdo
Copy link
Member

mdo commented Oct 30, 2022

Changing the title of the page is the easiest fix here, PR coming.

mdo added a commit that referenced this issue Oct 30, 2022
Repository owner moved this from To do to Done in v5.3.0 Oct 30, 2022
mdo added a commit that referenced this issue Oct 30, 2022
@CyrilKrylatov
Copy link

CyrilKrylatov commented Nov 3, 2022

Hello people,

I see you merged a fix for that but I think I found a new issue related. Indeed when i'm looking for mo, I have this result:

ss_ 6119

I also tested it on https://deploy-preview-37400--twbs-bootstrap.netlify.app/docs/5.2/getting-started/webpack/ from #37400 and it's broken there too.

I can open a new issue with that if you think it's more relevant than a new comment.

Cheers! ✌️

@julien-deramond
Copy link
Member Author

Yep @CyrilKrylatov. It's already tracked in #37312.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants