Skip to content

Improve highlighting when search match is surrounded with spaces#89

Open
BenceSzalai wants to merge 1 commit intoCoroico:Developmentfrom
BenceSzalai:sbnc_patch_highlighting_of_whitespaces_issue
Open

Improve highlighting when search match is surrounded with spaces#89
BenceSzalai wants to merge 1 commit intoCoroico:Developmentfrom
BenceSzalai:sbnc_patch_highlighting_of_whitespaces_issue

Conversation

@BenceSzalai
Copy link

Fix: AdvSearch::addHighlighting() preg_replace highlighted spaces around the search terms, if happened to be there. Now it only highlights the exact search term, whitespaces are not highlighted.

…und the search terms, if happened to be there. Now it only highlights the exact search term, whitespaces are not highlighted.
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.

2 participants