{"action":"created","issue":{"url":"https://api.github.com/repos/jstransformers/jstransformer-cdata-js/issues/2","repository_url":"https://api.github.com/repos/jstransformers/jstransformer-cdata-js","labels_url":"https://api.github.com/repos/jstransformers/jstransformer-cdata-js/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jstransformers/jstransformer-cdata-js/issues/2/comments","events_url":"https://api.github.com/repos/jstransformers/jstransformer-cdata-js/issues/2/events","html_url":"https://github.com/jstransformers/jstransformer-cdata-js/issues/2","id":180977980,"number":2,"title":"Avoid useless slashes in front of CDATA marks","user":{"login":"mk-pmb","id":3442602,"avatar_url":"https://avatars.githubusercontent.com/u/3442602?v=3","gravatar_id":"","url":"https://api.github.com/users/mk-pmb","html_url":"https://github.com/mk-pmb","followers_url":"https://api.github.com/users/mk-pmb/followers","following_url":"https://api.github.com/users/mk-pmb/following{/other_user}","gists_url":"https://api.github.com/users/mk-pmb/gists{/gist_id}","starred_url":"https://api.github.com/users/mk-pmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mk-pmb/subscriptions","organizations_url":"https://api.github.com/users/mk-pmb/orgs","repos_url":"https://api.github.com/users/mk-pmb/repos","events_url":"https://api.github.com/users/mk-pmb/events{/privacy}","received_events_url":"https://api.github.com/users/mk-pmb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-04T19:07:35Z","updated_at":"2016-10-04T19:30:09Z","closed_at":null,"body":"Since this module encodes data as CDATA, I assume it is to be used for XML, so we can just omit the slashes to the left of the CDATA marks. This should save a little bit of bandwidth and a lot of [security risk potential](https://mk-pmb.github.io/tryjs/syntax/html/js-slashes-cdata.xhtml) if someone accidentially uses this for HTML.\r\n\r\n(Originally reported as [this pug docs issue](https://github.com/pugjs/pug/issues/2567).)"},"comment":{"url":"https://api.github.com/repos/jstransformers/jstransformer-cdata-js/issues/comments/251488406","html_url":"https://github.com/jstransformers/jstransformer-cdata-js/issues/2#issuecomment-251488406","issue_url":"https://api.github.com/repos/jstransformers/jstransformer-cdata-js/issues/2","id":251488406,"user":{"login":"mk-pmb","id":3442602,"avatar_url":"https://avatars.githubusercontent.com/u/3442602?v=3","gravatar_id":"","url":"https://api.github.com/users/mk-pmb","html_url":"https://github.com/mk-pmb","followers_url":"https://api.github.com/users/mk-pmb/followers","following_url":"https://api.github.com/users/mk-pmb/following{/other_user}","gists_url":"https://api.github.com/users/mk-pmb/gists{/gist_id}","starred_url":"https://api.github.com/users/mk-pmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mk-pmb/subscriptions","organizations_url":"https://api.github.com/users/mk-pmb/orgs","repos_url":"https://api.github.com/users/mk-pmb/repos","events_url":"https://api.github.com/users/mk-pmb/events{/privacy}","received_events_url":"https://api.github.com/users/mk-pmb/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T19:30:08Z","updated_at":"2016-10-04T19:30:08Z","body":"Reading the source, I also found:\r\n\r\n```javascript\r\nexports.outputFormat = 'html';\r\n```\r\n\r\nIf there's a need to lie, please add a source comment why so. Without explanation, I think it's quite confusing, as there is no CDATA in HTML."}}
{"actor":{"display_login":"mk-pmb"}}