{"action":"created","issue":{"url":"https://api.github.com/repos/jindw/xmldom/issues/39","labels_url":"https://api.github.com/repos/jindw/xmldom/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/jindw/xmldom/issues/39/comments","events_url":"https://api.github.com/repos/jindw/xmldom/issues/39/events","html_url":"https://github.com/jindw/xmldom/pull/39","id":9590676,"number":39,"title":"Encode \">\" to &gt; during serialization","user":{"login":"private-face","id":456168,"avatar_url":"https://avatars.githubusercontent.com/u/456168?v=3","gravatar_id":"","url":"https://api.github.com/users/private-face","html_url":"https://github.com/private-face","followers_url":"https://api.github.com/users/private-face/followers","following_url":"https://api.github.com/users/private-face/following{/other_user}","gists_url":"https://api.github.com/users/private-face/gists{/gist_id}","starred_url":"https://api.github.com/users/private-face/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/private-face/subscriptions","organizations_url":"https://api.github.com/users/private-face/orgs","repos_url":"https://api.github.com/users/private-face/repos","events_url":"https://api.github.com/users/private-face/events{/privacy}","received_events_url":"https://api.github.com/users/private-face/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2012-12-31T10:04:18Z","updated_at":"2015-01-19T19:08:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jindw/xmldom/pulls/39","html_url":"https://github.com/jindw/xmldom/pull/39","diff_url":"https://github.com/jindw/xmldom/pull/39.diff","patch_url":"https://github.com/jindw/xmldom/pull/39.patch"},"body":"Symbol \">\" is not properly encoded during serialization.\r\n\r\nTest code:\r\n```javascript\r\nvar xmldom = require('xmldom');\r\nvar domparser = new xmldom.DOMParser;\r\nvar xmlserializer = new xmldom.XMLSerializer;\r\n\r\nvar dom = domparser.parseFromString('<node attr=\"&lt;&gt;\">&lt;&gt;</node>');\r\nvar s = xmlserializer.serializeToString(dom);\r\nconsole.log(s);\r\n\r\n// outputs '<node attr=\"&lt;>\">&lt;></node>'\r\n```"},"comment":{"url":"https://api.github.com/repos/jindw/xmldom/issues/comments/70544335","html_url":"https://github.com/jindw/xmldom/pull/39#issuecomment-70544335","issue_url":"https://api.github.com/repos/jindw/xmldom/issues/39","id":70544335,"user":{"login":"omriyariv","id":3214034,"avatar_url":"https://avatars.githubusercontent.com/u/3214034?v=3","gravatar_id":"","url":"https://api.github.com/users/omriyariv","html_url":"https://github.com/omriyariv","followers_url":"https://api.github.com/users/omriyariv/followers","following_url":"https://api.github.com/users/omriyariv/following{/other_user}","gists_url":"https://api.github.com/users/omriyariv/gists{/gist_id}","starred_url":"https://api.github.com/users/omriyariv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omriyariv/subscriptions","organizations_url":"https://api.github.com/users/omriyariv/orgs","repos_url":"https://api.github.com/users/omriyariv/repos","events_url":"https://api.github.com/users/omriyariv/events{/privacy}","received_events_url":"https://api.github.com/users/omriyariv/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T19:08:03Z","updated_at":"2015-01-19T19:08:03Z","body":"+1 for this. Not all XML validators are okay with '>'. Any chance of merging this soon?"}}