13 lines
244 B
JavaScript
Executable File
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;
|
|
};
|