{"action":"closed","issue":{"url":"https://api.github.com/repos/TEAMMATES/teammates/issues/5142","repository_url":"https://api.github.com/repos/TEAMMATES/teammates","labels_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/5142/labels{/name}","comments_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/5142/comments","events_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/5142/events","html_url":"https://github.com/TEAMMATES/teammates/issues/5142","id":143760763,"number":5142,"title":"Godmode should sanitize Text nodes when converting into standard HTML","user":{"login":"bamboo3250","id":8078323,"avatar_url":"https://avatars.githubusercontent.com/u/8078323?v=3","gravatar_id":"","url":"https://api.github.com/users/bamboo3250","html_url":"https://github.com/bamboo3250","followers_url":"https://api.github.com/users/bamboo3250/followers","following_url":"https://api.github.com/users/bamboo3250/following{/other_user}","gists_url":"https://api.github.com/users/bamboo3250/gists{/gist_id}","starred_url":"https://api.github.com/users/bamboo3250/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamboo3250/subscriptions","organizations_url":"https://api.github.com/users/bamboo3250/orgs","repos_url":"https://api.github.com/users/bamboo3250/repos","events_url":"https://api.github.com/users/bamboo3250/events{/privacy}","received_events_url":"https://api.github.com/users/bamboo3250/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TEAMMATES/teammates/labels/a-Testing","name":"a-Testing","color":"E6CCFF"},{"url":"https://api.github.com/repos/TEAMMATES/teammates/labels/m.Feature","name":"m.Feature","color":"fef2c0"},{"url":"https://api.github.com/repos/TEAMMATES/teammates/labels/p.High","name":"p.High","color":"e15050"},{"url":"https://api.github.com/repos/TEAMMATES/teammates/labels/t-HTML","name":"t-HTML","color":"e5da90"}],"state":"closed","locked":false,"assignee":{"login":"bamboo3250","id":8078323,"avatar_url":"https://avatars.githubusercontent.com/u/8078323?v=3","gravatar_id":"","url":"https://api.github.com/users/bamboo3250","html_url":"https://github.com/bamboo3250","followers_url":"https://api.github.com/users/bamboo3250/followers","following_url":"https://api.github.com/users/bamboo3250/following{/other_user}","gists_url":"https://api.github.com/users/bamboo3250/gists{/gist_id}","starred_url":"https://api.github.com/users/bamboo3250/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamboo3250/subscriptions","organizations_url":"https://api.github.com/users/bamboo3250/orgs","repos_url":"https://api.github.com/users/bamboo3250/repos","events_url":"https://api.github.com/users/bamboo3250/events{/privacy}","received_events_url":"https://api.github.com/users/bamboo3250/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/TEAMMATES/teammates/milestones/204","html_url":"https://github.com/TEAMMATES/teammates/milestones/V5.75","labels_url":"https://api.github.com/repos/TEAMMATES/teammates/milestones/204/labels","id":1659842,"number":204,"title":"V5.75","description":"","creator":{"login":"thyageshm","id":5160137,"avatar_url":"https://avatars.githubusercontent.com/u/5160137?v=3","gravatar_id":"","url":"https://api.github.com/users/thyageshm","html_url":"https://github.com/thyageshm","followers_url":"https://api.github.com/users/thyageshm/followers","following_url":"https://api.github.com/users/thyageshm/following{/other_user}","gists_url":"https://api.github.com/users/thyageshm/gists{/gist_id}","starred_url":"https://api.github.com/users/thyageshm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thyageshm/subscriptions","organizations_url":"https://api.github.com/users/thyageshm/orgs","repos_url":"https://api.github.com/users/thyageshm/repos","events_url":"https://api.github.com/users/thyageshm/events{/privacy}","received_events_url":"https://api.github.com/users/thyageshm/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":8,"state":"open","created_at":"2016-03-22T14:41:01Z","updated_at":"2016-03-31T15:40:19Z","due_on":"2016-04-04T16:00:00Z","closed_at":null},"comments":3,"created_at":"2016-03-26T23:59:06Z","updated_at":"2016-03-31T15:40:19Z","closed_at":"2016-03-31T15:40:19Z","body":"When converting page source into DOM Document and Node, the content of Text nodes are always unsanitized by default. There will be a problem if we use and convert the HTML output with unsanitized content one more time into standard HTML to compare with the actual page source. If there are mismatches, the standard HTML of `expected` seems broken.\r\n"}}