{"action":"created","issue":{"url":"https://api.github.com/repos/tsayen/dom-to-image/issues/152","repository_url":"https://api.github.com/repos/tsayen/dom-to-image","labels_url":"https://api.github.com/repos/tsayen/dom-to-image/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/tsayen/dom-to-image/issues/152/comments","events_url":"https://api.github.com/repos/tsayen/dom-to-image/issues/152/events","html_url":"https://github.com/tsayen/dom-to-image/issues/152","id":252538950,"number":152,"title":"Is it possible to pass html string instead of DOM reference ?","user":{"login":"joshianish","id":30645797,"avatar_url":"https://avatars1.githubusercontent.com/u/30645797?v=4","gravatar_id":"","url":"https://api.github.com/users/joshianish","html_url":"https://github.com/joshianish","followers_url":"https://api.github.com/users/joshianish/followers","following_url":"https://api.github.com/users/joshianish/following{/other_user}","gists_url":"https://api.github.com/users/joshianish/gists{/gist_id}","starred_url":"https://api.github.com/users/joshianish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshianish/subscriptions","organizations_url":"https://api.github.com/users/joshianish/orgs","repos_url":"https://api.github.com/users/joshianish/repos","events_url":"https://api.github.com/users/joshianish/events{/privacy}","received_events_url":"https://api.github.com/users/joshianish/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-24T09:21:38Z","updated_at":"2017-08-24T09:32:25Z","closed_at":"2017-08-24T09:32:25Z","body":"Hello,\r\n\r\nI want to render a png image genereated out of an html string, i tried wrapping it in a div via javascript and passing this div to toPng method unfortunately i get a success callback with response data as \"data;\"\r\n\r\nis there a specific to render such data ? or this kind of use case is not supported at all ?\r\n\r\nREgards,\r\nAnish"},"comment":{"url":"https://api.github.com/repos/tsayen/dom-to-image/issues/comments/324584640","html_url":"https://github.com/tsayen/dom-to-image/issues/152#issuecomment-324584640","issue_url":"https://api.github.com/repos/tsayen/dom-to-image/issues/152","id":324584640,"user":{"login":"tsayen","id":1733236,"avatar_url":"https://avatars3.githubusercontent.com/u/1733236?v=4","gravatar_id":"","url":"https://api.github.com/users/tsayen","html_url":"https://github.com/tsayen","followers_url":"https://api.github.com/users/tsayen/followers","following_url":"https://api.github.com/users/tsayen/following{/other_user}","gists_url":"https://api.github.com/users/tsayen/gists{/gist_id}","starred_url":"https://api.github.com/users/tsayen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsayen/subscriptions","organizations_url":"https://api.github.com/users/tsayen/orgs","repos_url":"https://api.github.com/users/tsayen/repos","events_url":"https://api.github.com/users/tsayen/events{/privacy}","received_events_url":"https://api.github.com/users/tsayen/received_events","type":"User","site_admin":false},"created_at":"2017-08-24T09:32:25Z","updated_at":"2017-08-24T09:32:25Z","body":"currently only DOM nodes are supported as input. you'll have to create a node from your HTML string yourself by some other means, like https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML"}}
{"actor":{"display_login":"tsayen"}}