]> source.dussan.org Git - jquery-ui.git/commit
Tabs: Use `CSS.escape` for sanitizing selectors
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Sat, 26 Oct 2024 22:04:00 +0000 (00:04 +0200)
committerGitHub <noreply@github.com>
Sat, 26 Oct 2024 22:04:00 +0000 (00:04 +0200)
commitaf8adca5481d0ac5db0865032b6c4c7e21421be7
tree6219d2b51ca29f3dc6899959e81da0ba00c19005
parentebdcd0d866a5d318c5255c2d6404867878d06d47
Tabs: Use `CSS.escape` for sanitizing selectors

The previous private `_sanitizeSelector` API was not correctly escaping
backslashes and is now removed. The native API should always be correct.

Closes gh-2307
tests/unit/tabs/core.js
tests/unit/tabs/helper.js
ui/widgets/tabs.js