{"action":"created","issue":{"url":"https://api.github.com/repos/jch/html-pipeline/issues/192","repository_url":"https://api.github.com/repos/jch/html-pipeline","labels_url":"https://api.github.com/repos/jch/html-pipeline/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/jch/html-pipeline/issues/192/comments","events_url":"https://api.github.com/repos/jch/html-pipeline/issues/192/events","html_url":"https://github.com/jch/html-pipeline/issues/192","id":72147318,"number":192,"title":"Support limited use of the HTML 'style' attribute","user":{"login":"mhelvens","id":4012816,"avatar_url":"https://avatars2.githubusercontent.com/u/4012816?v=3","gravatar_id":"","url":"https://api.github.com/users/mhelvens","html_url":"https://github.com/mhelvens","followers_url":"https://api.github.com/users/mhelvens/followers","following_url":"https://api.github.com/users/mhelvens/following{/other_user}","gists_url":"https://api.github.com/users/mhelvens/gists{/gist_id}","starred_url":"https://api.github.com/users/mhelvens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhelvens/subscriptions","organizations_url":"https://api.github.com/users/mhelvens/orgs","repos_url":"https://api.github.com/users/mhelvens/repos","events_url":"https://api.github.com/users/mhelvens/events{/privacy}","received_events_url":"https://api.github.com/users/mhelvens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2015-04-30T12:45:49Z","updated_at":"2017-03-12T21:19:12Z","closed_at":"2015-08-04T16:32:12Z","body":"I've seen a number of specific feature requests about styling, such as [this one](https://github.com/github/markup/issues/369) about color. But surprisingly, I could find none regarding the actual HTML `style` attribute.\n\nThat attribute is currently disallowed by the [sanitization filter](https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/sanitization_filter.rb). I agree that full use of the `style` attribute would be too powerful - positioning and sizing properties might mess up the whole layout.\n\nI propose that a 'css whitelist' is created, allowing limited use of the `style` attribute. I'm sure many developers would like to be able to use `color`, `border`, `padding`, and so on, to improve the style of their documentation.\n\n(PS: This issue was originally posted on [github/markup](https://github.com/github/markup/issues/486), but it seems to belongs here instead.)\n"},"comment":{"url":"https://api.github.com/repos/jch/html-pipeline/issues/comments/285977536","html_url":"https://github.com/jch/html-pipeline/issues/192#issuecomment-285977536","issue_url":"https://api.github.com/repos/jch/html-pipeline/issues/192","id":285977536,"user":{"login":"mhelvens","id":4012816,"avatar_url":"https://avatars2.githubusercontent.com/u/4012816?v=3","gravatar_id":"","url":"https://api.github.com/users/mhelvens","html_url":"https://github.com/mhelvens","followers_url":"https://api.github.com/users/mhelvens/followers","following_url":"https://api.github.com/users/mhelvens/following{/other_user}","gists_url":"https://api.github.com/users/mhelvens/gists{/gist_id}","starred_url":"https://api.github.com/users/mhelvens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhelvens/subscriptions","organizations_url":"https://api.github.com/users/mhelvens/orgs","repos_url":"https://api.github.com/users/mhelvens/repos","events_url":"https://api.github.com/users/mhelvens/events{/privacy}","received_events_url":"https://api.github.com/users/mhelvens/received_events","type":"User","site_admin":false},"created_at":"2017-03-12T21:19:12Z","updated_at":"2017-03-12T21:19:12Z","body":"Just FYI: This feature request was not just about color."}}
{"actor":{"display_login":"mhelvens"}}