{"action":"created","issue":{"url":"https://api.github.com/repos/developit/preact/issues/141","repository_url":"https://api.github.com/repos/developit/preact","labels_url":"https://api.github.com/repos/developit/preact/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/developit/preact/issues/141/comments","events_url":"https://api.github.com/repos/developit/preact/issues/141/events","html_url":"https://github.com/developit/preact/issues/141","id":153617968,"number":141,"title":"dangerouslySetInnerHTML doesn't work on SVG tag","user":{"login":"fdaciuk","id":487669,"avatar_url":"https://avatars.githubusercontent.com/u/487669?v=3","gravatar_id":"","url":"https://api.github.com/users/fdaciuk","html_url":"https://github.com/fdaciuk","followers_url":"https://api.github.com/users/fdaciuk/followers","following_url":"https://api.github.com/users/fdaciuk/following{/other_user}","gists_url":"https://api.github.com/users/fdaciuk/gists{/gist_id}","starred_url":"https://api.github.com/users/fdaciuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdaciuk/subscriptions","organizations_url":"https://api.github.com/users/fdaciuk/orgs","repos_url":"https://api.github.com/users/fdaciuk/repos","events_url":"https://api.github.com/users/fdaciuk/events{/privacy}","received_events_url":"https://api.github.com/users/fdaciuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-07T21:08:29Z","updated_at":"2016-05-07T21:23:36Z","closed_at":null,"body":"Hey @developit! \r\n\r\nThis property should work on svg tags, isn't?\r\n\r\nI'm trying to use it to generate SVG sprites:\r\n\r\n```js\r\nconst SvgIcon = ({ id, label }) => {\r\n  const props = {\r\n    className: 'icon',\r\n    'aria-hidden': true,\r\n    'aria-label': label,\r\n    dangerouslySetInnerHTML: {\r\n      __html: `<use xlink:href=\"/svg/icons.svg#${id}\" />`\r\n    }\r\n  }\r\n\r\n  return <svg {...props} />\r\n}\r\n```\r\n\r\nBut `use` tag is not being inserted inside of `svg` :("},"comment":{"url":"https://api.github.com/repos/developit/preact/issues/comments/217669683","html_url":"https://github.com/developit/preact/issues/141#issuecomment-217669683","issue_url":"https://api.github.com/repos/developit/preact/issues/141","id":217669683,"user":{"login":"developit","id":105127,"avatar_url":"https://avatars.githubusercontent.com/u/105127?v=3","gravatar_id":"","url":"https://api.github.com/users/developit","html_url":"https://github.com/developit","followers_url":"https://api.github.com/users/developit/followers","following_url":"https://api.github.com/users/developit/following{/other_user}","gists_url":"https://api.github.com/users/developit/gists{/gist_id}","starred_url":"https://api.github.com/users/developit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/developit/subscriptions","organizations_url":"https://api.github.com/users/developit/orgs","repos_url":"https://api.github.com/users/developit/repos","events_url":"https://api.github.com/users/developit/events{/privacy}","received_events_url":"https://api.github.com/users/developit/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T21:23:36Z","updated_at":"2016-05-07T21:23:36Z","body":"(Or I'm totally wrong, in which case let me know and let's fix it :)"}}