{"action":"opened","issue":{"url":"https://api.github.com/repos/punkave/sanitize-html/issues/83","labels_url":"https://api.github.com/repos/punkave/sanitize-html/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/punkave/sanitize-html/issues/83/comments","events_url":"https://api.github.com/repos/punkave/sanitize-html/issues/83/events","html_url":"https://github.com/punkave/sanitize-html/issues/83","id":123907773,"number":83,"title":"Style attribute gets removed even when I allow it explicitly","user":{"login":"babbelnedd","id":4655466,"avatar_url":"https://avatars.githubusercontent.com/u/4655466?v=3","gravatar_id":"","url":"https://api.github.com/users/babbelnedd","html_url":"https://github.com/babbelnedd","followers_url":"https://api.github.com/users/babbelnedd/followers","following_url":"https://api.github.com/users/babbelnedd/following{/other_user}","gists_url":"https://api.github.com/users/babbelnedd/gists{/gist_id}","starred_url":"https://api.github.com/users/babbelnedd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babbelnedd/subscriptions","organizations_url":"https://api.github.com/users/babbelnedd/orgs","repos_url":"https://api.github.com/users/babbelnedd/repos","events_url":"https://api.github.com/users/babbelnedd/events{/privacy}","received_events_url":"https://api.github.com/users/babbelnedd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-26T04:21:17Z","updated_at":"2015-12-26T04:21:17Z","closed_at":null,"body":"Style tags are completely removed with this configuration. Is this intended behavior?\r\n\r\n```\r\n    {\r\n        allowedTags: ['h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol',\r\n            'nl', 'li', 'b', 'i', 'strong', 'em', 'strike', 'code', 'hr', 'br', 'div',\r\n            'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre'],\r\n        allowedAttributes: {\r\n            '*': ['style'],\r\n            a: ['href', 'name', 'target'],\r\n            strong: ['class'],\r\n            img: ['src', 'width', 'height']\r\n        },\r\n        selfClosing: ['img', 'br', 'hr', 'area', 'base', 'basefont', 'input', 'link', 'meta'],\r\n        allowedSchemes: ['http', 'https'],\r\n        allowedSchemesByTag: {}\r\n    }\r\n```"}}