项目原始demo,不改动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

13 lines
244 B

  1. module.exports = function(node) {
  2. var value = node.value;
  3. // remove escaped \n, i.e.
  4. // .a { content: "foo\
  5. // bar"}
  6. // ->
  7. // .a { content: "foobar" }
  8. value = value.replace(/\\\n/g, '');
  9. node.value = value;
  10. };