{"action":"created","issue":{"url":"https://api.github.com/repos/sass/libsass/issues/1067","labels_url":"https://api.github.com/repos/sass/libsass/issues/1067/labels{/name}","comments_url":"https://api.github.com/repos/sass/libsass/issues/1067/comments","events_url":"https://api.github.com/repos/sass/libsass/issues/1067/events","html_url":"https://github.com/sass/libsass/issues/1067","id":66965349,"number":1067,"title":"Multiline strings with backslashes are silently truncated (CRLF/Windows version)","user":{"login":"am11","id":3840695,"avatar_url":"https://avatars.githubusercontent.com/u/3840695?v=3","gravatar_id":"","url":"https://api.github.com/users/am11","html_url":"https://github.com/am11","followers_url":"https://api.github.com/users/am11/followers","following_url":"https://api.github.com/users/am11/following{/other_user}","gists_url":"https://api.github.com/users/am11/gists{/gist_id}","starred_url":"https://api.github.com/users/am11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/am11/subscriptions","organizations_url":"https://api.github.com/users/am11/orgs","repos_url":"https://api.github.com/users/am11/repos","events_url":"https://api.github.com/users/am11/events{/privacy}","received_events_url":"https://api.github.com/users/am11/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sass/libsass/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/sass/libsass/labels/PR%20Ready","name":"PR Ready","color":"00FF00"}],"state":"open","locked":false,"assignee":{"login":"mgreter","id":282293,"avatar_url":"https://avatars.githubusercontent.com/u/282293?v=3","gravatar_id":"","url":"https://api.github.com/users/mgreter","html_url":"https://github.com/mgreter","followers_url":"https://api.github.com/users/mgreter/followers","following_url":"https://api.github.com/users/mgreter/following{/other_user}","gists_url":"https://api.github.com/users/mgreter/gists{/gist_id}","starred_url":"https://api.github.com/users/mgreter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgreter/subscriptions","organizations_url":"https://api.github.com/users/mgreter/orgs","repos_url":"https://api.github.com/users/mgreter/repos","events_url":"https://api.github.com/users/mgreter/events{/privacy}","received_events_url":"https://api.github.com/users/mgreter/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sass/libsass/milestones/3","html_url":"https://github.com/sass/libsass/milestones/3.2","labels_url":"https://api.github.com/repos/sass/libsass/milestones/3/labels","id":812844,"number":3,"title":"3.2","description":"","creator":{"login":"hcatlin","id":111,"avatar_url":"https://avatars.githubusercontent.com/u/111?v=3","gravatar_id":"","url":"https://api.github.com/users/hcatlin","html_url":"https://github.com/hcatlin","followers_url":"https://api.github.com/users/hcatlin/followers","following_url":"https://api.github.com/users/hcatlin/following{/other_user}","gists_url":"https://api.github.com/users/hcatlin/gists{/gist_id}","starred_url":"https://api.github.com/users/hcatlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcatlin/subscriptions","organizations_url":"https://api.github.com/users/hcatlin/orgs","repos_url":"https://api.github.com/users/hcatlin/repos","events_url":"https://api.github.com/users/hcatlin/events{/privacy}","received_events_url":"https://api.github.com/users/hcatlin/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":168,"state":"open","created_at":"2014-10-03T16:44:45Z","updated_at":"2015-04-07T18:55:42Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-04-07T18:49:12Z","updated_at":"2015-04-07T19:29:30Z","closed_at":null,"body":"Related to #942.\r\n\r\nGiven the following input:\r\n\r\n```scss\r\n$v: \".foo \\\r\n.bar\";\r\n\r\n#{$v} {\r\n\tcolor: #F00;\r\n}\r\n\r\ndiv {\r\n\tcontent: \"foo\\\r\nbar\";\r\n}\r\n```\r\n\r\nThe output is:\r\n\r\n> .foo.bar {\\n  color: #F00; }\\n\\ndiv {\\n  content: \"fobar\"; }\\n\r\n\r\nif and only if the CRLF linefeeds were used in the input.\r\n\r\nFurther notes:\r\n\r\nUsing node-sass master:\r\n\r\n```cmd\r\n:: this is cmd\r\nmkdir \\temp\r\nnotepad c:\\temp\\blah.scss :: type the aforementioned Sass code, save and close notepad\r\ncd path\\to\\node-sass\\cloned\\directory\r\nnode\r\n```\r\n\r\n```javascript\r\nrequire('./').renderSync({file:'c:/temp/blah.scss'}).css.toString()\r\n```\r\n\r\noutputs:\r\n\r\n```javascript\r\n'.foo.bar {\\n  color: #F00; }\\n\\ndiv {\\n  content: \"fobar\"; }\\n'\r\n```\r\n\r\nCtrl+C to exit node.js REPL.\r\n\r\nRun:\r\n\r\n```cmd\r\n:: assuming you have mingw in your path\r\ndos2unix c:/temp/blah.scss\r\n:: dos2unix utility replaces \\r\\n with \\n\r\n:: dos2unix utility is reciprocal of unix2dos utility\r\nnode\r\n```\r\n\r\n```javascript\r\nrequire('./').renderSync({file:'c:/temp/blah.scss'}).css.toString()\r\n```\r\n\r\noutputs:\r\n\r\n```javascript\r\n'.foo.bar {\\n  color: #F00; }\\n\\ndiv {\\n  content: \"foobar\"; }\\n'  //expected output \r\n                                                                   // (the 'o' in foobar is not\r\n                                                                   //  missing anymore)\r\n```\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10658011-multiline-strings-with-backslashes-are-silently-truncated-crlf-windows-version?utm_campaign=plugin&utm_content=tracker%2F283068&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F283068&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/sass/libsass/issues/comments/90707092","html_url":"https://github.com/sass/libsass/issues/1067#issuecomment-90707092","issue_url":"https://api.github.com/repos/sass/libsass/issues/1067","id":90707092,"user":{"login":"am11","id":3840695,"avatar_url":"https://avatars.githubusercontent.com/u/3840695?v=3","gravatar_id":"","url":"https://api.github.com/users/am11","html_url":"https://github.com/am11","followers_url":"https://api.github.com/users/am11/followers","following_url":"https://api.github.com/users/am11/following{/other_user}","gists_url":"https://api.github.com/users/am11/gists{/gist_id}","starred_url":"https://api.github.com/users/am11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/am11/subscriptions","organizations_url":"https://api.github.com/users/am11/orgs","repos_url":"https://api.github.com/users/am11/repos","events_url":"https://api.github.com/users/am11/events{/privacy}","received_events_url":"https://api.github.com/users/am11/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T19:29:30Z","updated_at":"2015-04-07T19:29:30Z","body":":+1: \r\nGood idea; and I will go out and get some fresh oxygen :smoking: :smile_cat: \r\n\r\nOn this note, should we configure appveyor to clone sass-spec repo with CRLF ending to test Windows environment verbatim?"}}