first
This commit is contained in:
12
node_modules/csso/lib/replace/String.js
generated
vendored
Normal file
12
node_modules/csso/lib/replace/String.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
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;
|
||||
};
|
Reference in New Issue
Block a user