{"action":"created","issue":{"url":"https://api.github.com/repos/dm-wyncode/sopiva/issues/1","repository_url":"https://api.github.com/repos/dm-wyncode/sopiva","labels_url":"https://api.github.com/repos/dm-wyncode/sopiva/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dm-wyncode/sopiva/issues/1/comments","events_url":"https://api.github.com/repos/dm-wyncode/sopiva/issues/1/events","html_url":"https://github.com/dm-wyncode/sopiva/issues/1","id":144891203,"number":1,"title":"requests_response._content embedded into HTML document executes <script> content","user":{"login":"dm-wyncode","id":17745063,"avatar_url":"https://avatars.githubusercontent.com/u/17745063?v=3","gravatar_id":"","url":"https://api.github.com/users/dm-wyncode","html_url":"https://github.com/dm-wyncode","followers_url":"https://api.github.com/users/dm-wyncode/followers","following_url":"https://api.github.com/users/dm-wyncode/following{/other_user}","gists_url":"https://api.github.com/users/dm-wyncode/gists{/gist_id}","starred_url":"https://api.github.com/users/dm-wyncode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dm-wyncode/subscriptions","organizations_url":"https://api.github.com/users/dm-wyncode/orgs","repos_url":"https://api.github.com/users/dm-wyncode/repos","events_url":"https://api.github.com/users/dm-wyncode/events{/privacy}","received_events_url":"https://api.github.com/users/dm-wyncode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-31T12:49:27Z","updated_at":"2016-03-31T13:49:06Z","closed_at":null,"body":"Content needs escaping before insertion into the html table.\r\n\r\nSee sopiva.serializers.RequestsJSONSerializer.default method where the requests_response object is handled before it goes into an html document."},"comment":{"url":"https://api.github.com/repos/dm-wyncode/sopiva/issues/comments/203948593","html_url":"https://github.com/dm-wyncode/sopiva/issues/1#issuecomment-203948593","issue_url":"https://api.github.com/repos/dm-wyncode/sopiva/issues/1","id":203948593,"user":{"login":"dm-wyncode","id":17745063,"avatar_url":"https://avatars.githubusercontent.com/u/17745063?v=3","gravatar_id":"","url":"https://api.github.com/users/dm-wyncode","html_url":"https://github.com/dm-wyncode","followers_url":"https://api.github.com/users/dm-wyncode/followers","following_url":"https://api.github.com/users/dm-wyncode/following{/other_user}","gists_url":"https://api.github.com/users/dm-wyncode/gists{/gist_id}","starred_url":"https://api.github.com/users/dm-wyncode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dm-wyncode/subscriptions","organizations_url":"https://api.github.com/users/dm-wyncode/orgs","repos_url":"https://api.github.com/users/dm-wyncode/repos","events_url":"https://api.github.com/users/dm-wyncode/events{/privacy}","received_events_url":"https://api.github.com/users/dm-wyncode/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T13:49:06Z","updated_at":"2016-03-31T13:49:06Z","body":"Escaping the content avoided running the scripts in the content while viewing it in a browser.\r\n\r\n```python\r\nfor datum in data:\r\n    datum[CONTENT] = html.escape(datum[CONTENT])\r\n```"}}