Skip to content

Commit 88c558a

Browse files
jpamentaljakubpawlowicz
authored andcommitted
Fix incorrect stripping of quotes in font-variation-settings (#1039)
1 parent ca9e0ec commit 88c558a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/optimizer/level-1/optimize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ function optimizeZeroUnits(name, value) {
336336
}
337337

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

0 commit comments

Comments
 (0)