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

HTML in list items breaks marking of text while filtering #17232

Open
koosvanderkolk opened this issue Feb 18, 2021 · 0 comments
Open

HTML in list items breaks marking of text while filtering #17232

koosvanderkolk opened this issue Feb 18, 2021 · 0 comments

Comments

@koosvanderkolk
Copy link

I would like to give some more explanation on the items in the list. E.g. I have the following list:

var myList = ['AND <span>Logical AND operator</span>", "OR <span>Logical OR operator</span>", "NOT <span>Logical NOT operator</span>", "ONLY <span>Filters properties, usage: ONLY (property_a, property_b, ...)</span>"];

Problem is: the highlighting of the items in the list breaks the tags, as tags are being inserted.

E.g. when the input is 'an':

<mark>AN</mark>D <sp<mark>an</mark>>Logical <mark>AN</mark>D operator</sp<mark>an</mark>>

Is this solvable?

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

No branches or pull requests

1 participant