{"action":"closed","issue":{"url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/617","labels_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/617/labels{/name}","comments_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/617/comments","events_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/617/events","html_url":"https://github.com/Glavin001/atom-beautify/issues/617","id":112847458,"number":617,"title":"html - [auto] wrap attributes indent size","user":{"login":"robrez","id":1993389,"avatar_url":"https://avatars.githubusercontent.com/u/1993389?v=3","gravatar_id":"","url":"https://api.github.com/users/robrez","html_url":"https://github.com/robrez","followers_url":"https://api.github.com/users/robrez/followers","following_url":"https://api.github.com/users/robrez/following{/other_user}","gists_url":"https://api.github.com/users/robrez/gists{/gist_id}","starred_url":"https://api.github.com/users/robrez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrez/subscriptions","organizations_url":"https://api.github.com/users/robrez/orgs","repos_url":"https://api.github.com/users/robrez/repos","events_url":"https://api.github.com/users/robrez/events{/privacy}","received_events_url":"https://api.github.com/users/robrez/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-22T17:02:36Z","updated_at":"2015-10-22T20:13:16Z","closed_at":"2015-10-22T20:13:16Z","body":"_Windows 7, atom 1.0.19, atom-beautify 0.28.14_\r\n\r\nThanks in advance!\r\n\r\nI do not get the expected behavior given the following HTML settings:\r\n- `Wrap attributes to new lines:  auto`\r\n- `Wrap attributes indent size: 4`\r\n- `Wrap line length: 80`\r\n\r\n_Un-beautified_\r\n```\r\n<section>\r\n  <div>\r\n    <div data-thing=\"yes\" data-another-thing=\"false\" data-blah=\"hello\" class=\"one two three four\" data-blahblah=\"blah\" id=\"mydiv\">\r\n    </div>\r\n  </div>\r\n</section>\r\n```\r\n\r\n_Beautified w/ wrap attributes:  `auto`_\r\n```\r\n<section>\r\n  <div>\r\n    <div data-thing=\"yes\" data-another-thing=\"false\" data-blah=\"hello\" class=\"one two three four\"\r\n    data-blahblah=\"blah\" id=\"mydiv\">\r\n    </div>\r\n  </div>\r\n</section>\r\n```\r\n\r\n_Beautified w/ wrap attributes:  `force` -- works as I'd expect_\r\n```\r\n<section>\r\n  <div>\r\n    <div data-thing=\"yes\"\r\n        data-another-thing=\"false\"\r\n        data-blah=\"hello\"\r\n        class=\"one two three four\"\r\n        data-blahblah=\"blah\"\r\n        id=\"mydiv\">\r\n    </div>\r\n  </div>\r\n</section>\r\n```\r\n\r\n\r\n_Desired output_\r\n```\r\n<section>\r\n  <div>\r\n    <div data-thing=\"yes\" data-another-thing=\"false\" data-blah=\"hello\" class=\"one two three four\"\r\n        data-blahblah=\"blah\" id=\"mydiv\">\r\n    </div>\r\n  </div>\r\n</section>\r\n```\r\n_Note: would be super-awesome if wrap could occur prior to the class attribute since it's the one that makes line-length > 80. I'm not sure if this is possible_"}}