{"action":"created","issue":{"url":"https://api.github.com/repos/mathjax/MathJax/issues/1215","labels_url":"https://api.github.com/repos/mathjax/MathJax/issues/1215/labels{/name}","comments_url":"https://api.github.com/repos/mathjax/MathJax/issues/1215/comments","events_url":"https://api.github.com/repos/mathjax/MathJax/issues/1215/events","html_url":"https://github.com/mathjax/MathJax/issues/1215","id":96541179,"number":1215,"title":"can i get the SVG string?","user":{"login":"macarthor","id":1481269,"avatar_url":"https://avatars.githubusercontent.com/u/1481269?v=3","gravatar_id":"","url":"https://api.github.com/users/macarthor","html_url":"https://github.com/macarthor","followers_url":"https://api.github.com/users/macarthor/followers","following_url":"https://api.github.com/users/macarthor/following{/other_user}","gists_url":"https://api.github.com/users/macarthor/gists{/gist_id}","starred_url":"https://api.github.com/users/macarthor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macarthor/subscriptions","organizations_url":"https://api.github.com/users/macarthor/orgs","repos_url":"https://api.github.com/users/macarthor/repos","events_url":"https://api.github.com/users/macarthor/events{/privacy}","received_events_url":"https://api.github.com/users/macarthor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-22T11:20:42Z","updated_at":"2015-08-23T16:48:22Z","closed_at":"2015-07-23T19:04:56Z","body":"hi community,\r\n\r\ni wonder if i could get the mathjax output SVG as a string? such as `<svg>xxxxxx</svg>`.\r\n\r\ni wanna do this because i wanna cache the formula SVG in my APP, so that the user can read some content while offline.\r\n\r\nmany thx~"},"comment":{"url":"https://api.github.com/repos/mathjax/MathJax/issues/comments/133877953","html_url":"https://github.com/mathjax/MathJax/issues/1215#issuecomment-133877953","issue_url":"https://api.github.com/repos/mathjax/MathJax/issues/1215","id":133877953,"user":{"login":"dpvc","id":432782,"avatar_url":"https://avatars.githubusercontent.com/u/432782?v=3","gravatar_id":"","url":"https://api.github.com/users/dpvc","html_url":"https://github.com/dpvc","followers_url":"https://api.github.com/users/dpvc/followers","following_url":"https://api.github.com/users/dpvc/following{/other_user}","gists_url":"https://api.github.com/users/dpvc/gists{/gist_id}","starred_url":"https://api.github.com/users/dpvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpvc/subscriptions","organizations_url":"https://api.github.com/users/dpvc/orgs","repos_url":"https://api.github.com/users/dpvc/repos","events_url":"https://api.github.com/users/dpvc/events{/privacy}","received_events_url":"https://api.github.com/users/dpvc/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T16:48:22Z","updated_at":"2015-08-23T16:48:22Z","body":"It may be that SVG elements don't implement innerHTML and outerHTML (since they are in the SVG namespace not the HTML one), so you might try `svg.parentElement.innerHTML` and see if that gets you what you want."}}