{"action":"created","issue":{"url":"https://api.github.com/repos/rgrove/sanitize/issues/144","labels_url":"https://api.github.com/repos/rgrove/sanitize/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/rgrove/sanitize/issues/144/comments","events_url":"https://api.github.com/repos/rgrove/sanitize/issues/144/events","html_url":"https://github.com/rgrove/sanitize/issues/144","id":126441868,"number":144,"title":"The default configurations should remove content for <style>","user":{"login":"lluchs","id":516527,"avatar_url":"https://avatars.githubusercontent.com/u/516527?v=3","gravatar_id":"","url":"https://api.github.com/users/lluchs","html_url":"https://github.com/lluchs","followers_url":"https://api.github.com/users/lluchs/followers","following_url":"https://api.github.com/users/lluchs/following{/other_user}","gists_url":"https://api.github.com/users/lluchs/gists{/gist_id}","starred_url":"https://api.github.com/users/lluchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lluchs/subscriptions","organizations_url":"https://api.github.com/users/lluchs/orgs","repos_url":"https://api.github.com/users/lluchs/repos","events_url":"https://api.github.com/users/lluchs/events{/privacy}","received_events_url":"https://api.github.com/users/lluchs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-13T15:22:51Z","updated_at":"2016-01-13T15:33:51Z","closed_at":null,"body":"The default BASIC and RESTRICTED configurations both will remove inline <style> tags, but not the CSS contained within them. I'd argue that this is never the desired or expected behavior when using an HTML sanitizer. Removing content for <style> (and possibly also <script>?) should be the default for those configurations, or there should be at least a hint in the documentations that users will probably want to do this."},"comment":{"url":"https://api.github.com/repos/rgrove/sanitize/issues/comments/171332507","html_url":"https://github.com/rgrove/sanitize/issues/144#issuecomment-171332507","issue_url":"https://api.github.com/repos/rgrove/sanitize/issues/144","id":171332507,"user":{"login":"lluchs","id":516527,"avatar_url":"https://avatars.githubusercontent.com/u/516527?v=3","gravatar_id":"","url":"https://api.github.com/users/lluchs","html_url":"https://github.com/lluchs","followers_url":"https://api.github.com/users/lluchs/followers","following_url":"https://api.github.com/users/lluchs/following{/other_user}","gists_url":"https://api.github.com/users/lluchs/gists{/gist_id}","starred_url":"https://api.github.com/users/lluchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lluchs/subscriptions","organizations_url":"https://api.github.com/users/lluchs/orgs","repos_url":"https://api.github.com/users/lluchs/repos","events_url":"https://api.github.com/users/lluchs/events{/privacy}","received_events_url":"https://api.github.com/users/lluchs/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T15:33:51Z","updated_at":"2016-01-13T15:33:51Z","body":"GitHub seems to have some issues with the formatting. Here's what my comment is supposed to look like:\r\n![selection_003](https://cloud.githubusercontent.com/assets/516527/12298622/6189202c-ba13-11e5-85b4-172a57171883.png)\r\n"}}