Gildas 6 лет назад
Родитель
Сommit
81d6995ff8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/single-file/modules/css-fonts-minifier.js

+ 1 - 1
lib/single-file/modules/css-fonts-minifier.js

@@ -300,8 +300,8 @@ this.singlefile.lib.modules.fontsMinifier = this.singlefile.lib.modules.fontsMin
 	}
 
 	function testUnicodeRange(docContent, unicodeRange) {
-		unicodeRange = singlefile.lib.helper.removeQuotes(unicodeRange);
 		if (unicodeRange) {
+			unicodeRange = singlefile.lib.helper.removeQuotes(unicodeRange);
 			const unicodeRanges = unicodeRange.split(REGEXP_COMMA);
 			let invalid;
 			const result = unicodeRanges.filter(rangeValue => {