Skip to content

Commit

Permalink
convertStyleToAttrs: fix wrong character class (#1338)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Feb 18, 2021
1 parent 264b2b5 commit 136a52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/convertStyleToAttrs.js
Expand Up @@ -29,7 +29,7 @@ var stylingProps = require('./_collections').attrsGroups.presentation,
rDeclEnd = '\\s*(?:;\\s*|$)',

// Important rule
rImportant = '(\\s*!important(?![-(\w]))?',
rImportant = '(\\s*!important(?![-(\\w]))?',

// Final RegExp to parse CSS declarations.
regDeclarationBlock = new RegExp(rAttr + ':' + rValue + rImportant + rDeclEnd, 'ig'),
Expand Down

0 comments on commit 136a52c

Please sign in to comment.