{"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://avatars.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":13,"created_at":"2015-04-30T12:45:49Z","updated_at":"2016-09-22T11:41:59Z","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.\r\n\r\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.\r\n\r\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.\r\n\r\n(PS: This issue was originally posted on [github/markup](https://github.com/github/markup/issues/486), but it seems to belongs here instead.)"},"comment":{"url":"https://api.github.com/repos/jch/html-pipeline/issues/comments/248880171","html_url":"https://github.com/jch/html-pipeline/issues/192#issuecomment-248880171","issue_url":"https://api.github.com/repos/jch/html-pipeline/issues/192","id":248880171,"user":{"login":"svnpenn","id":926619,"avatar_url":"https://avatars.githubusercontent.com/u/926619?v=3","gravatar_id":"","url":"https://api.github.com/users/svnpenn","html_url":"https://github.com/svnpenn","followers_url":"https://api.github.com/users/svnpenn/followers","following_url":"https://api.github.com/users/svnpenn/following{/other_user}","gists_url":"https://api.github.com/users/svnpenn/gists{/gist_id}","starred_url":"https://api.github.com/users/svnpenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svnpenn/subscriptions","organizations_url":"https://api.github.com/users/svnpenn/orgs","repos_url":"https://api.github.com/users/svnpenn/repos","events_url":"https://api.github.com/users/svnpenn/events{/privacy}","received_events_url":"https://api.github.com/users/svnpenn/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T11:41:59Z","updated_at":"2016-09-22T11:41:59Z","body":"@devbharat its typical bureaucracy: they would rather introduce new features:\r\n\r\nhttp://github.com/blog/2256-a-whole-new-github-universe-announcing-new-tools-forums-and-features\r\n\r\nthan fix old problems:\r\n\r\nhttp://github.com/isaacs/github\r\n\r\nFixing old problems is actually what the community wants, but wont happen because it is not sexy to the sponsors, who actually pay the bills:\r\n\r\nhttp://github.com/blog/2259-mission-report-github-universe"}}
{"actor":{"display_login":"svnpenn"}}