{"action":"created","issue":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/2794","repository_url":"https://api.github.com/repos/ractivejs/ractive","labels_url":"https://api.github.com/repos/ractivejs/ractive/issues/2794/labels{/name}","comments_url":"https://api.github.com/repos/ractivejs/ractive/issues/2794/comments","events_url":"https://api.github.com/repos/ractivejs/ractive/issues/2794/events","html_url":"https://github.com/ractivejs/ractive/issues/2794","id":193885253,"number":2794,"title":"0.8.5: inline style with !important does not get rendered to browser","user":{"login":"mpowell-atomic","id":10661049,"avatar_url":"https://avatars.githubusercontent.com/u/10661049?v=3","gravatar_id":"","url":"https://api.github.com/users/mpowell-atomic","html_url":"https://github.com/mpowell-atomic","followers_url":"https://api.github.com/users/mpowell-atomic/followers","following_url":"https://api.github.com/users/mpowell-atomic/following{/other_user}","gists_url":"https://api.github.com/users/mpowell-atomic/gists{/gist_id}","starred_url":"https://api.github.com/users/mpowell-atomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpowell-atomic/subscriptions","organizations_url":"https://api.github.com/users/mpowell-atomic/orgs","repos_url":"https://api.github.com/users/mpowell-atomic/repos","events_url":"https://api.github.com/users/mpowell-atomic/events{/privacy}","received_events_url":"https://api.github.com/users/mpowell-atomic/received_events","type":"User","site_admin":false},"labels":[{"id":10564987,"url":"https://api.github.com/repos/ractivejs/ractive/labels/bug","name":"bug","color":"ff0000","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-06T21:08:55Z","updated_at":"2016-12-06T21:43:56Z","closed_at":null,"body":"## Description:\r\nA template that has an inline style with !important (e.g. style=\"display: inline !important\") when rendered to the browser doesn't have the attribute at all. If I remove the !important, it does get rendered. It does, however, appear when using this.toHTML().\r\n\r\n## Versions affected:\r\n0.8.5 (update: and 0.9)\r\n\r\n## Reproduction:\r\n0.8.5: https://jsfiddle.net/jgawe4cq/\r\n\r\nWorks in 0.7.3:\r\nhttps://jsfiddle.net/85a5o443/\r\n\r\n## Code:\r\n```javascript\r\nnew Ractive({\r\n  el: 'body',\r\n  template: `\r\n  <div class=\"test\">\r\n    <div style=\"display: inline !important;\">\r\n      LEFT \r\n    </div>\r\n    <div style=\"display: inline !important;\">\r\n      RIGHT \r\n    </div>\r\n  </div>\r\n\r\n  <div>Ractive 0.8.5</div>\r\n  <p>toHTML() output:</p>\r\n  <code>{{debug}}</code>`,\r\n  onrender: function(){\r\n  \tthis.set('debug', this.toHTML());\r\n  }\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/comments/265282088","html_url":"https://github.com/ractivejs/ractive/issues/2794#issuecomment-265282088","issue_url":"https://api.github.com/repos/ractivejs/ractive/issues/2794","id":265282088,"user":{"login":"mpowell-atomic","id":10661049,"avatar_url":"https://avatars.githubusercontent.com/u/10661049?v=3","gravatar_id":"","url":"https://api.github.com/users/mpowell-atomic","html_url":"https://github.com/mpowell-atomic","followers_url":"https://api.github.com/users/mpowell-atomic/followers","following_url":"https://api.github.com/users/mpowell-atomic/following{/other_user}","gists_url":"https://api.github.com/users/mpowell-atomic/gists{/gist_id}","starred_url":"https://api.github.com/users/mpowell-atomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpowell-atomic/subscriptions","organizations_url":"https://api.github.com/users/mpowell-atomic/orgs","repos_url":"https://api.github.com/users/mpowell-atomic/repos","events_url":"https://api.github.com/users/mpowell-atomic/events{/privacy}","received_events_url":"https://api.github.com/users/mpowell-atomic/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T21:43:56Z","updated_at":"2016-12-06T21:43:56Z","body":"how much of an overhead? could it be optional maybe? it's super important to this app working. i realise it is an edge case maybe but it'd be nice if the html that is in the templates is rendered as is. thanks!"}}
{"actor":{"display_login":"mpowell-atomic"}}