source: frontend/node_modules/csso/lib/replace/String.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • 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.