{"action":"created","issue":{"url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/360","labels_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/360/comments","events_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/360/events","html_url":"https://github.com/Glavin001/atom-beautify/issues/360","id":79643773,"number":360,"title":"wrong formatting .jsx","user":{"login":"luisrudge","id":941075,"avatar_url":"https://avatars.githubusercontent.com/u/941075?v=3","gravatar_id":"","url":"https://api.github.com/users/luisrudge","html_url":"https://github.com/luisrudge","followers_url":"https://api.github.com/users/luisrudge/followers","following_url":"https://api.github.com/users/luisrudge/following{/other_user}","gists_url":"https://api.github.com/users/luisrudge/gists{/gist_id}","starred_url":"https://api.github.com/users/luisrudge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisrudge/subscriptions","organizations_url":"https://api.github.com/users/luisrudge/orgs","repos_url":"https://api.github.com/users/luisrudge/repos","events_url":"https://api.github.com/users/luisrudge/events{/privacy}","received_events_url":"https://api.github.com/users/luisrudge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Glavin001/atom-beautify/labels/third-party%20bug","name":"third-party bug","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-22T22:57:00Z","updated_at":"2015-05-23T12:01:34Z","closed_at":"2015-05-23T11:06:38Z","body":"![image](https://cloud.githubusercontent.com/assets/941075/7780979/aacd0c1e-00bc-11e5-8053-2391e7f5e316.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/comments/104885254","html_url":"https://github.com/Glavin001/atom-beautify/issues/360#issuecomment-104885254","issue_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/360","id":104885254,"user":{"login":"prettydiff","id":524902,"avatar_url":"https://avatars.githubusercontent.com/u/524902?v=3","gravatar_id":"","url":"https://api.github.com/users/prettydiff","html_url":"https://github.com/prettydiff","followers_url":"https://api.github.com/users/prettydiff/followers","following_url":"https://api.github.com/users/prettydiff/following{/other_user}","gists_url":"https://api.github.com/users/prettydiff/gists{/gist_id}","starred_url":"https://api.github.com/users/prettydiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prettydiff/subscriptions","organizations_url":"https://api.github.com/users/prettydiff/orgs","repos_url":"https://api.github.com/users/prettydiff/repos","events_url":"https://api.github.com/users/prettydiff/events{/privacy}","received_events_url":"https://api.github.com/users/prettydiff/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T12:01:34Z","updated_at":"2015-05-23T12:01:34Z","body":"JSX is essentially XML embedded in JavaScript. The current beautifier is smart enough to parse JSX where the XML may contain JavaScript and/or where XML/HTML may contain JSX. As such the JavaScript portions will be beautified as JavaScript and the XML portions will be beautified as XML. The only thing specially here is knowing when one parser should hand off to another.\r\n\r\nI have looked at the code samples provided here and do not see any errors in Pretty Diff at this time.  I have used the samples in https://github.com/prettydiff/prettydiff/blob/master/unit_tests/beautification_javascript_jsx.txt to validate my conformance to JSX."}}