소스 검색

remove \\9 at the end of property values

Gildas 6 년 전
부모
커밋
4e2f048c16
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/single-file/modules/css-fonts-alt-minifier.js

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

@@ -243,7 +243,7 @@ this.singlefile.lib.modules.fontsAltMinifier = this.singlefile.lib.modules.fonts
 		}
 		if (property) {
 			try {
-				return cssTree.generate(property.data.value);
+				return cssTree.generate(property.data.value).replace(/\\9$/, "");
 			} catch (error) {
 				// ignored
 			}