Opal-Estate-Pro/node_modules/csso/lib/compressor/compress/String.js

13 lines
244 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
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;
};