|
@@ -273,11 +273,11 @@ this.singlefile.lib.modules.fontsAltMinifier = this.singlefile.lib.modules.fonts
|
|
|
const cssTree = singlefile.lib.vendor.cssTree;
|
|
const cssTree = singlefile.lib.vendor.cssTree;
|
|
|
let property;
|
|
let property;
|
|
|
if (ruleData.block.children) {
|
|
if (ruleData.block.children) {
|
|
|
- property = ruleData.block.children.filter(node => node.property == propertyName).tail;
|
|
|
|
|
|
|
+ property = ruleData.block.children.filter(node => node.property == propertyName && !cssTree.generate(node.value).match(/\\9$/)).tail;
|
|
|
}
|
|
}
|
|
|
if (property) {
|
|
if (property) {
|
|
|
try {
|
|
try {
|
|
|
- return cssTree.generate(property.data.value).replace(/\\9$/, "");
|
|
|
|
|
|
|
+ return cssTree.generate(property.data.value);
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
// ignored
|
|
// ignored
|
|
|
}
|
|
}
|