Skip to content

Commit

Permalink
fix(core): support tailwind's ! in classes
Browse files Browse the repository at this point in the history
fixes #4812
  • Loading branch information
nolimits4web committed Aug 9, 2021
1 parent f54a19f commit 0cfbc53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function bindModuleMethods(instance, obj) {
function classesToSelector(classes = '') {
return `.${classes
.trim()
.replace(/([\.:\/])/g, '\\$1') // eslint-disable-line
.replace(/([\.:!\/])/g, '\\$1') // eslint-disable-line
.replace(/ /g, '.')}`;
}

Expand Down

0 comments on commit 0cfbc53

Please sign in to comment.