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

Fix search highlighting with multiple words. #1426

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Jan 4, 2021

If you click on a search result after entering multiple words, the target page will not have any highlighting. The marking code was not unescaping the highlight words, thus the split on space doesn't work.

@ehuss ehuss merged commit 1a0c296 into rust-lang:master Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant