{"action":"created","issue":{"url":"https://api.github.com/repos/prettydiff/prettydiff/issues/141","labels_url":"https://api.github.com/repos/prettydiff/prettydiff/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/prettydiff/prettydiff/issues/141/comments","events_url":"https://api.github.com/repos/prettydiff/prettydiff/issues/141/events","html_url":"https://github.com/prettydiff/prettydiff/issues/141","id":100691814,"number":141,"title":"Nested rules not indented in SCSS","user":{"login":"ArekSredzki","id":879918,"avatar_url":"https://avatars.githubusercontent.com/u/879918?v=3","gravatar_id":"","url":"https://api.github.com/users/ArekSredzki","html_url":"https://github.com/ArekSredzki","followers_url":"https://api.github.com/users/ArekSredzki/followers","following_url":"https://api.github.com/users/ArekSredzki/following{/other_user}","gists_url":"https://api.github.com/users/ArekSredzki/gists{/gist_id}","starred_url":"https://api.github.com/users/ArekSredzki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArekSredzki/subscriptions","organizations_url":"https://api.github.com/users/ArekSredzki/orgs","repos_url":"https://api.github.com/users/ArekSredzki/repos","events_url":"https://api.github.com/users/ArekSredzki/events{/privacy}","received_events_url":"https://api.github.com/users/ArekSredzki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T05:14:42Z","updated_at":"2015-08-13T05:32:01Z","closed_at":null,"body":"Nested rules aren't indented in SCSS if the option to insert new lines between rules is checked.\r\nThis only effects the nested rules that aren't the first on that level.\r\n\r\nOriginal:\r\n```scss\r\nheader .navbar-nav {\r\n  float: none;\r\n}\r\nfooter {\r\n  .navbar {\r\n    min-height: 25px;\r\n  }\r\n  .other-class {\r\n    min-height: 25px;\r\n  }\r\n  .other-class-2 {\r\n    min-height: 25px;\r\n  }\r\n}\r\n```\r\n\r\nExpected:\r\n```scss\r\nheader .navbar-nav {\r\n  float: none;\r\n}\r\n\r\nfooter {\r\n  .navbar {\r\n    min-height: 25px;\r\n  }\r\n\r\n  .other-class {\r\n    min-height: 25px;\r\n  }\r\n  \r\n  .other-class-2 {\r\n    min-height: 25px;\r\n  }\r\n}\r\n```\r\n\r\nActual:\r\n```scss\r\nheader .navbar-nav {\r\n  float: none;\r\n}\r\n\r\nfooter {\r\n  .navbar {\r\n    min-height: 25px;\r\n  }\r\n  \r\n.other-class {\r\n    min-height: 25px;\r\n  }\r\n  \r\n.other-class-2 {\r\n    min-height: 25px;\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/prettydiff/prettydiff/issues/comments/130540725","html_url":"https://github.com/prettydiff/prettydiff/issues/141#issuecomment-130540725","issue_url":"https://api.github.com/repos/prettydiff/prettydiff/issues/141","id":130540725,"user":{"login":"ArekSredzki","id":879918,"avatar_url":"https://avatars.githubusercontent.com/u/879918?v=3","gravatar_id":"","url":"https://api.github.com/users/ArekSredzki","html_url":"https://github.com/ArekSredzki","followers_url":"https://api.github.com/users/ArekSredzki/followers","following_url":"https://api.github.com/users/ArekSredzki/following{/other_user}","gists_url":"https://api.github.com/users/ArekSredzki/gists{/gist_id}","starred_url":"https://api.github.com/users/ArekSredzki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArekSredzki/subscriptions","organizations_url":"https://api.github.com/users/ArekSredzki/orgs","repos_url":"https://api.github.com/users/ArekSredzki/repos","events_url":"https://api.github.com/users/ArekSredzki/events{/privacy}","received_events_url":"https://api.github.com/users/ArekSredzki/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T05:32:01Z","updated_at":"2015-08-13T05:32:01Z","body":"This originates from the new line being pushed after the indent.\r\nThe \"empty\" line is properly indented rather than the one with the rule."}}