question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`&` displayed in Algolia search results titles

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
julien-deramondcommented, Nov 3, 2022
1reaction
julien-deramondcommented, Oct 22, 2022

Thanks for reporting that @manuelmeurer. It’s already in https://github.com/twbs/bootstrap/issues/37312 and we’re trying to find a solution. It is apparently due to the fact that we have several <h1>s in this modal page.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Structured results in InstantSearch.js - Algolia
Discover structured results, a feature to showcase compelling, ... Traditional search, which consists of displaying long lists of search ...
Read more >
FR: Support Algolia results · Issue #10568 · ampproject/amphtml
Short answer, not at present because the API assumption of the frontend and backend are different. (AMP assumes a particular response type, ...
Read more >
Algolia search engine in Jekyll static pages
This article shows how to implementent Algolia searching engine in a static website and update the entries using Github Actions.
Read more >
Amplience search | Amplience Developer Portal
Amplience search is powered by Algolia. Indexes are created in an Algolia account managed by Amplience and can only be managed using the...
Read more >
Search // Statamic 3 Docs
Algolia is a full-featured search and navigation cloud service. They offer fast and relevant search with results in under 100 ms (99% under...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found