{"action":"opened","issue":{"url":"https://api.github.com/repos/Hirse/brackets-beautify/issues/14","labels_url":"https://api.github.com/repos/Hirse/brackets-beautify/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/Hirse/brackets-beautify/issues/14/comments","events_url":"https://api.github.com/repos/Hirse/brackets-beautify/issues/14/events","html_url":"https://github.com/Hirse/brackets-beautify/issues/14","id":110158920,"number":14,"title":"Beautify on save duplicates markup in live display","user":{"login":"misterManSam","id":2440729,"avatar_url":"https://avatars.githubusercontent.com/u/2440729?v=3","gravatar_id":"","url":"https://api.github.com/users/misterManSam","html_url":"https://github.com/misterManSam","followers_url":"https://api.github.com/users/misterManSam/followers","following_url":"https://api.github.com/users/misterManSam/following{/other_user}","gists_url":"https://api.github.com/users/misterManSam/gists{/gist_id}","starred_url":"https://api.github.com/users/misterManSam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterManSam/subscriptions","organizations_url":"https://api.github.com/users/misterManSam/orgs","repos_url":"https://api.github.com/users/misterManSam/repos","events_url":"https://api.github.com/users/misterManSam/events{/privacy}","received_events_url":"https://api.github.com/users/misterManSam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-07T06:13:49Z","updated_at":"2015-10-07T06:13:49Z","closed_at":null,"body":"\r\nWhen \"Beautify on save\" is enabled, the markup is displayed twice in the live preview when saved.\r\n\r\n**To recreate:**\r\n1. Enable \"Beautify on save\"\r\n2. Markup a page\r\n3. Make some sloppy indentation\r\n4. Open a live preview\r\n5. Save the document\r\n\r\n>Brackets\r\n>\r\n>Release 1.4 build 1.4.0-16380 (release 273804eb3) \r\n>build timestamp: Mon Jul 27 2015 07:23:52 GMT+0100\r\n\r\n**Screencast:**\r\n[Youtube link](https://youtu.be/PDNtMBw8hlY)\r\n\r\n**Screenshot:**\r\n![Example](https://cloud.githubusercontent.com/assets/2440729/10329803/8a540214-6d11-11e5-8a47-5979c9cc10ea.png)\r\n\r\n\r\n\r\n"}}