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(escapedResults): _highlightResult is undefined #1003

Merged
merged 1 commit into from Apr 13, 2021

Conversation

shortcuts
Copy link
Member

Summary

In #1001, we introduced a new internal method to escape the hierarachy.lvl0 value from _highlightResult. When the hit is "linked" to his parent (image below), _highlightResult gets replaced by __docsearch_parent (which contains the actual hit).

Screenshot 2021-04-13 at 13 34 34

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7a77d99:

Sandbox Source
Vanilla Configuration

@shortcuts shortcuts merged commit 16e6558 into next Apr 13, 2021
@shortcuts shortcuts deleted the fix/escapedResults branch April 13, 2021 12:32
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.

None yet

2 participants