-
Notifications
You must be signed in to change notification settings - Fork 136
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
Flip id is not sanitized before being put in the data attribute #193
Comments
Thanks for making this issue! An easy workaround is to make sure your flip ids are valid data attributes. The next time I update the library I'll add some processing to check for spaces. |
Thank you for replying. Yeah, that's how I have resolved it. There is no build-in browser API for sanitizing string meant to be used in selectors, at least I didn't find it, so I ended up using some snippet from SO |
This leads to errors with query selector:
The text was updated successfully, but these errors were encountered: