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(results): unescaped lvl0 #1001

Merged
merged 4 commits into from Apr 7, 2021
Merged

fix(results): unescaped lvl0 #1001

merged 4 commits into from Apr 7, 2021

Conversation

shortcuts
Copy link
Member

Summary

In some cases, the hits returned by the engine can contain escaped characters. We now retrieve the lvl0 from the _highlightResults (which are always unescaped) and remove the highlighting tags.

before after
Screenshot 2021-03-31 at 16 55 12 Screenshot 2021-03-31 at 16 59 27

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 31, 2021

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 5ea358b:

Sandbox Source
Vanilla Configuration

@shortcuts shortcuts merged commit 117228b into next Apr 7, 2021
@shortcuts shortcuts deleted the fix/results branch April 7, 2021 09:04
@ericxjohnston
Copy link

@shortcuts Thanks Clement for merging these changes! Do you know when the next alpha version will be released?

@shortcuts
Copy link
Member Author

Hi @ericxjohnston, the version v3.0.0-alpha.35 is now released.

@ericxjohnston
Copy link

@shortcuts Thanks Clement!

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

4 participants