Opal-Estate-Pro/node_modules/csso/lib/compressor/compress/String.js
2019-09-13 11:27:52 +07:00

13 lines
244 B
JavaScript
Executable File

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;
};