瀏覽代碼

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
 			}