{"action":"created","issue":{"url":"https://api.github.com/repos/royriojas/esformatter-jsx/issues/52","labels_url":"https://api.github.com/repos/royriojas/esformatter-jsx/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/royriojas/esformatter-jsx/issues/52/comments","events_url":"https://api.github.com/repos/royriojas/esformatter-jsx/issues/52/events","html_url":"https://github.com/royriojas/esformatter-jsx/issues/52","id":130014209,"number":52,"title":"Be more like prettyDiff?","user":{"login":"tnrich","id":2730609,"avatar_url":"https://avatars.githubusercontent.com/u/2730609?v=3","gravatar_id":"","url":"https://api.github.com/users/tnrich","html_url":"https://github.com/tnrich","followers_url":"https://api.github.com/users/tnrich/followers","following_url":"https://api.github.com/users/tnrich/following{/other_user}","gists_url":"https://api.github.com/users/tnrich/gists{/gist_id}","starred_url":"https://api.github.com/users/tnrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnrich/subscriptions","organizations_url":"https://api.github.com/users/tnrich/orgs","repos_url":"https://api.github.com/users/tnrich/repos","events_url":"https://api.github.com/users/tnrich/events{/privacy}","received_events_url":"https://api.github.com/users/tnrich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-30T17:19:24Z","updated_at":"2016-01-30T17:49:22Z","closed_at":null,"body":"Here's how prettydiff is (at a high level) handling JSX: \r\nhttp://prettydiff.com/guide/react_jsx.xhtml\r\n\r\nIt seems to be the best JSX formatter that I've encountered thus far. Any chance you're doing something differently?"},"comment":{"url":"https://api.github.com/repos/royriojas/esformatter-jsx/issues/comments/177260364","html_url":"https://github.com/royriojas/esformatter-jsx/issues/52#issuecomment-177260364","issue_url":"https://api.github.com/repos/royriojas/esformatter-jsx/issues/52","id":177260364,"user":{"login":"tnrich","id":2730609,"avatar_url":"https://avatars.githubusercontent.com/u/2730609?v=3","gravatar_id":"","url":"https://api.github.com/users/tnrich","html_url":"https://github.com/tnrich","followers_url":"https://api.github.com/users/tnrich/followers","following_url":"https://api.github.com/users/tnrich/following{/other_user}","gists_url":"https://api.github.com/users/tnrich/gists{/gist_id}","starred_url":"https://api.github.com/users/tnrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnrich/subscriptions","organizations_url":"https://api.github.com/users/tnrich/orgs","repos_url":"https://api.github.com/users/tnrich/repos","events_url":"https://api.github.com/users/tnrich/events{/privacy}","received_events_url":"https://api.github.com/users/tnrich/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T17:49:22Z","updated_at":"2016-01-30T17:49:22Z","body":"The main thing is esformatter-jsx doesn't seem to handle javascript\nexpression within jsx very well.\n\nOn Sat, Jan 30, 2016 at 9:32 AM Roy Riojas <notifications@github.com> wrote:\n\n> hi @tnrich <https://github.com/tnrich>, interesting, I have been\n> considering to switch to jsbeautify <http://jsbeautifier.org/> directly\n> since they now support jsx as well.\n>\n> But I would like to understand exactly what are the issues you're found\n> using last version esformatter-jsx? If you can be specific it would be\n> awesome. Will take a look a prettydiff as well.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/royriojas/esformatter-jsx/issues/52#issuecomment-177257759>\n> .\n>\n"}}