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

Both search terms and article content is highlighted/bolded inside the search results page #1936

Open
emilghittasv opened this issue Aug 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@emilghittasv
Copy link
Collaborator

Steps to reproduce
Steps to reproduce the behavior:

  1. Navigate to the https://support.allizom.org/en-US/products/relay#search
  2. Click on the Profiles option from the Popular Searches.

Expected behavior
Only the searched term and it's synonyms are highlighted.

Actual behavior
We are highlighting the search term but if the article from the search results contains a string with bold styling applied, that is also displayed as bolded inside the search results page.

Screenshots
The used search term was Profiles:
image

^ We also have Manage all masks displayed as bolded because it has the bold style applied inside the kb article.
image-1

Desktop:

  • OS: Windows 11
  • Browser: Firefox

Additional context
This issue is reproducible in both stage and prod

@emilghittasv emilghittasv added the bug Something isn't working label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: triage
Development

No branches or pull requests

1 participant