|
Last change
on this file since cdcff72 was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
263 bytes
|
| Line | |
|---|
| 1 | module.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.