Skip to content

Commit

Permalink
Handle closing parenthesis within data url in transform-styles (WordP…
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Lykah authored and oxyc committed Sep 23, 2019
1 parent c89e85c commit f2155b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export default function( css, options ) {
}

// val
const val = match( /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/ );
const val = match( /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?['"]\)|[^};])+)/ );

const ret = pos( {
type: 'declaration',
Expand Down

0 comments on commit f2155b6

Please sign in to comment.