source: trip-planner-front/node_modules/csso/lib/replace/String.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 263 bytes
Line 
1module.exports = function(node) {
2 var value = node.value;
3
4 // remove escaped newlines, i.e.
5 // .a { content: "foo\
6 // bar"}
7 // ->
8 // .a { content: "foobar" }
9 value = value.replace(/\\(\r\n|\r|\n|\f)/g, '');
10
11 node.value = value;
12};
Note: See TracBrowser for help on using the repository browser.