lepu-test-platform-web/node_modules/csso/lib/compressor/compress/String.js

13 lines
244 B
JavaScript

module.exports = function(node) {
var value = node.value;
// remove escaped \n, i.e.
// .a { content: "foo\
// bar"}
// ->
// .a { content: "foobar" }
value = value.replace(/\\\n/g, '');
node.value = value;
};