mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-04 20:29:31 +08:00
12 lines
263 B
Text
12 lines
263 B
Text
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;
|
|
};
|