{"action":"created","issue":{"url":"https://api.github.com/repos/sass/libsass/issues/2625","repository_url":"https://api.github.com/repos/sass/libsass","labels_url":"https://api.github.com/repos/sass/libsass/issues/2625/labels{/name}","comments_url":"https://api.github.com/repos/sass/libsass/issues/2625/comments","events_url":"https://api.github.com/repos/sass/libsass/issues/2625/events","html_url":"https://github.com/sass/libsass/issues/2625","id":309703419,"number":2625,"title":"Error parsing selector with escaped colon at the end","user":{"login":"jsdw","id":3799193,"avatar_url":"https://avatars3.githubusercontent.com/u/3799193?v=4","gravatar_id":"","url":"https://api.github.com/users/jsdw","html_url":"https://github.com/jsdw","followers_url":"https://api.github.com/users/jsdw/followers","following_url":"https://api.github.com/users/jsdw/following{/other_user}","gists_url":"https://api.github.com/users/jsdw/gists{/gist_id}","starred_url":"https://api.github.com/users/jsdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsdw/subscriptions","organizations_url":"https://api.github.com/users/jsdw/orgs","repos_url":"https://api.github.com/users/jsdw/repos","events_url":"https://api.github.com/users/jsdw/events{/privacy}","received_events_url":"https://api.github.com/users/jsdw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-29T10:32:40Z","updated_at":"2018-03-29T11:05:23Z","closed_at":null,"author_association":"NONE","body":"Using libsass 3.5.2 (via node-sass 4.8.3), The following leads to an error:\r\n\r\n```\r\n$ echo -e 'something\\:{ padding: 2px; }' | ./node-sass\r\n{\r\n  \"status\": 1,\r\n  \"file\": \"stdin\",\r\n  \"line\": 1,\r\n  \"column\": 1,\r\n  \"message\": \"Invalid CSS after \\\"s\\\": expected 1 selector or at-rule, was \\\"something\\\\\\\\:{ paddin\\\"\",\r\n  \"formatted\": \"Error: Invalid CSS after \\\"s\\\": expected 1 selector or at-rule, was \\\"something\\\\\\\\:{ paddin\\\"\\n        on line 1 of stdin\\n>> something\\\\:{ padding: 2px; }\\n\\n   ^\\n\"\r\n}\r\n```\r\n\r\nAdding a space between the colon and opening curly bracket works, eg:\r\n\r\n```\r\n$ echo -e 'something\\: { padding: 2px; }' | ./node-sass\r\nsomething\\: {\r\n  padding: 2px; }\r\n``` \r\n\r\nThis is a regression, and does not appear to be a problem using libsass 3.5.0.beta.2 (via node-sass 4.5.3)."},"comment":{"url":"https://api.github.com/repos/sass/libsass/issues/comments/377201203","html_url":"https://github.com/sass/libsass/issues/2625#issuecomment-377201203","issue_url":"https://api.github.com/repos/sass/libsass/issues/2625","id":377201203,"user":{"login":"xzyfer","id":579928,"avatar_url":"https://avatars0.githubusercontent.com/u/579928?v=4","gravatar_id":"","url":"https://api.github.com/users/xzyfer","html_url":"https://github.com/xzyfer","followers_url":"https://api.github.com/users/xzyfer/followers","following_url":"https://api.github.com/users/xzyfer/following{/other_user}","gists_url":"https://api.github.com/users/xzyfer/gists{/gist_id}","starred_url":"https://api.github.com/users/xzyfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xzyfer/subscriptions","organizations_url":"https://api.github.com/users/xzyfer/orgs","repos_url":"https://api.github.com/users/xzyfer/repos","events_url":"https://api.github.com/users/xzyfer/events{/privacy}","received_events_url":"https://api.github.com/users/xzyfer/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T11:05:23Z","updated_at":"2018-03-29T11:05:23Z","author_association":"CONTRIBUTOR","body":"My gut reaction is that this is not valid CSS syntax. If this word\npreviously it may have been a bug that was patched. I'll confirm when I'm\nat a keyboard.\n\nOn Thu., 29 Mar. 2018, 9:32 pm James Wilson, <notifications@github.com>\nwrote:\n\n> Using libsass 3.5.2 (via node-sass 4.8.3), The following leads to an error:\n>\n> $ echo -e 'something\\:{ padding: 2px; }' | ./node-sass\n> {\n>   \"status\": 1,\n>   \"file\": \"stdin\",\n>   \"line\": 1,\n>   \"column\": 1,\n>   \"message\": \"Invalid CSS after \\\"s\\\": expected 1 selector or at-rule, was \\\"something\\\\\\\\:{ paddin\\\"\",\n>   \"formatted\": \"Error: Invalid CSS after \\\"s\\\": expected 1 selector or at-rule, was \\\"something\\\\\\\\:{ paddin\\\"\\n        on line 1 of stdin\\n>> something\\\\:{ padding: 2px; }\\n\\n   ^\\n\"\n> }\n>\n> Adding a space between the colon and opening curly bracket works, eg:\n>\n> $ echo -e 'something\\: { padding: 2px; }' | ./node-sass\n> something\\: {\n>   padding: 2px; }\n>\n> This is a regression, and does not appear to be a problem using libsass\n> 3.5.0.beta.2 (via node-sass 4.5.3).\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/sass/libsass/issues/2625>, or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AAjZWDVQLATnJQEr_2uRmWrpa_dXTBJ6ks5tjLhKgaJpZM4TAHEw>\n> .\n>\n"}}
{"actor":{"display_login":"xzyfer"}}