{"action":"closed","issue":{"url":"https://api.github.com/repos/prettydiff/prettydiff/issues/130","labels_url":"https://api.github.com/repos/prettydiff/prettydiff/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/prettydiff/prettydiff/issues/130/comments","events_url":"https://api.github.com/repos/prettydiff/prettydiff/issues/130/events","html_url":"https://github.com/prettydiff/prettydiff/issues/130","id":98599600,"number":130,"title":"markup beautification: if there is no explicit closing tag for element, indentation to new-line doesn't take place","user":{"login":"kaizer200","id":11957148,"avatar_url":"https://avatars.githubusercontent.com/u/11957148?v=3","gravatar_id":"","url":"https://api.github.com/users/kaizer200","html_url":"https://github.com/kaizer200","followers_url":"https://api.github.com/users/kaizer200/followers","following_url":"https://api.github.com/users/kaizer200/following{/other_user}","gists_url":"https://api.github.com/users/kaizer200/gists{/gist_id}","starred_url":"https://api.github.com/users/kaizer200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaizer200/subscriptions","organizations_url":"https://api.github.com/users/kaizer200/orgs","repos_url":"https://api.github.com/users/kaizer200/repos","events_url":"https://api.github.com/users/kaizer200/events{/privacy}","received_events_url":"https://api.github.com/users/kaizer200/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-02T10:12:36Z","updated_at":"2015-08-02T10:33:31Z","closed_at":"2015-08-02T10:33:31Z","body":"Hi,\r\nif there is no explicit closing tag of element, doing beatification on xml document will not cause following elements to move into new-line.\r\n\r\nexample:\r\n`<node1><node2><node3 pp1=\"1\" pp2=\"2\"/></node2></node1>`\r\n\r\nresult:\r\n```\r\n<node1>\r\n    <node2><node3  pp1=\"1\" pp2=\"2\"/></node2>\r\n</node1>\r\n```\r\n\r\nexpected result:\r\n```\r\n<node1>\r\n    <node2>\r\n        <node3 pp1=\"1\" pp2=\"2\"/>\r\n    </node2>\r\n</node1>\r\n```\r\n\r\nif one would explicitly close node3 (with `</node3>`) the expected result would be achieved."}}