Skip to content

Fix querySelector by quoting templated value - #57

Merged
srt32 merged 1 commit into
mainfrom
fix-query-selector-by-quoting-templated-value
Dec 10, 2021
Merged

Fix querySelector by quoting templated value#57
srt32 merged 1 commit into
mainfrom
fix-query-selector-by-quoting-templated-value

Conversation

@keithamus

Copy link
Copy Markdown
Contributor

For some elements which have invalid query selector values in the ID, for example a space character, having the id selector unquoted will cause a DOMException. This is easily mitigated by wrapping this selector in quotes.

For some elements which have invalid query selector values in the ID, for example a space character, having the id selector unquoted will cause a DOMException. This is easily mitigated by wrapping this selector in quotes.
@keithamus
keithamus requested a review from a team as a code ownerDecember 10, 2021 16:32
@srt32
srt32 merged commit e6bde82 into mainDec 10, 2021
@srt32
srt32 deleted the fix-query-selector-by-quoting-templated-value branch December 10, 2021 17:43
@theinternedtheinterned mentioned this pull request Feb 22, 2022
3 tasks
Sign up for freeto 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

@keithamus@srt32