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

fixed the crash issue on search bar in thread #9481

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KaleemNeslit
Copy link
Collaborator

Link to Issue

Closes: #9279

Description of Changes

  • the rise from the npm package "highlight-words-core" in findAll function
  • The issue was resolved by implementing a function (escapeRegExp) to escape special characters in the search terms.

"How We Fixed It"

The issue was resolved by implementing a function (escapeRegExp) to escape special characters in the search terms. This ensures that special characters are treated as literal strings rather than part of a regular expression.

N/A

Screen.Recording.2024-10-08.at.7.46.28.PM.mov

@Israellund
Copy link
Collaborator

@masvelio @mzparacha I would like to hear what you think about this PR. Is this something you would recommend to fix this, or is there something else already in place that Kaleem should use?
@KaleemNeslit Please also assign Malik @mzparacha for PR reviews on all of your PRs as well as myself, Marcin, and Kevin.

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.

Searching for a thread and adding \ breaks page
3 participants