mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
13 lines
263 B
JavaScript
13 lines
263 B
JavaScript
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;
|
|
};
|