1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/csso/lib/replace/String.js

13 lines
263 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
module.exports = function(node) {
var value = node.value;
// remove escaped newlines, i.e.
// .a { content: "foo\
// bar"}
// ->
// .a { content: "foobar" }
value = value.replace(/\\(\r\n|\r|\n|\f)/g, '');
node.value = value;
};