Skip to content

Commit

Permalink
Fix incorrect stripping of quotes in font-variation-settings (#1039)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpamental authored and jakubpawlowicz committed Aug 1, 2018
1 parent ca9e0ec commit 88c558a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/optimizer/level-1/optimize.js
Expand Up @@ -336,7 +336,7 @@ function optimizeZeroUnits(name, value) {
}

function removeQuotes(name, value) {
if (name == 'content' || name.indexOf('font-feature-settings') > -1 || name.indexOf('grid-') > -1) {
if (name == 'content' || name.indexOf('font-variation-settings') > -1 || name.indexOf('font-feature-settings') > -1 || name.indexOf('grid-') > -1) {
return value;
}

Expand Down

0 comments on commit 88c558a

Please sign in to comment.