Skip to content

Commit

Permalink
fix(pagination): escape + char in pagination classes
Browse files Browse the repository at this point in the history
fixes #6486
  • Loading branch information
nolimits4web committed Mar 16, 2023
1 parent 1a02271 commit d0beb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/classes-to-selector.js
@@ -1,6 +1,6 @@
export default function classesToSelector(classes = '') {
return `.${classes
.trim()
.replace(/([\.:!\/])/g, '\\$1') // eslint-disable-line
.replace(/([\.:!+\/])/g, '\\$1') // eslint-disable-line
.replace(/ /g, '.')}`;
}

0 comments on commit d0beb9f

Please sign in to comment.