{"action":"created","issue":{"url":"https://api.github.com/repos/openstax/react-components/issues/93","repository_url":"https://api.github.com/repos/openstax/react-components","labels_url":"https://api.github.com/repos/openstax/react-components/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/openstax/react-components/issues/93/comments","events_url":"https://api.github.com/repos/openstax/react-components/issues/93/events","html_url":"https://github.com/openstax/react-components/pull/93","id":164129635,"number":93,"title":"Process entire document if mathml is found","user":{"login":"nathanstitt","id":79566,"avatar_url":"https://avatars.githubusercontent.com/u/79566?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanstitt","html_url":"https://github.com/nathanstitt","followers_url":"https://api.github.com/users/nathanstitt/followers","following_url":"https://api.github.com/users/nathanstitt/following{/other_user}","gists_url":"https://api.github.com/users/nathanstitt/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanstitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanstitt/subscriptions","organizations_url":"https://api.github.com/users/nathanstitt/orgs","repos_url":"https://api.github.com/users/nathanstitt/repos","events_url":"https://api.github.com/users/nathanstitt/events{/privacy}","received_events_url":"https://api.github.com/users/nathanstitt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openstax/react-components/labels/needs%20review","name":"needs review","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-06T17:23:49Z","updated_at":"2016-07-06T18:46:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openstax/react-components/pulls/93","html_url":"https://github.com/openstax/react-components/pull/93","diff_url":"https://github.com/openstax/react-components/pull/93.diff","patch_url":"https://github.com/openstax/react-components/pull/93.patch"},"body":"If the mathml element's parent is shared with other mathml elements then it may be processed repeatedly, leading to the elements having zero height or width set on their inline styles.\r\n\r\nThis switches to simply processing the entire document when any `math` elments are found.\r\n\r\nFixes stuff like:\r\n![screen shot 2016-07-06 at 12 21 40 pm](https://cloud.githubusercontent.com/assets/79566/16627746/4226ab1a-4374-11e6-8c37-6f3c5864c3fd.png)\r\n\r\n\r\n\r\n\r\nAfter the fix it renders as:\r\n![screen shot 2016-07-06 at 12 21 52 pm](https://cloud.githubusercontent.com/assets/79566/16627757/539a0d88-4374-11e6-8df4-ec18d0d57c12.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openstax/react-components/issues/comments/230867500","html_url":"https://github.com/openstax/react-components/pull/93#issuecomment-230867500","issue_url":"https://api.github.com/repos/openstax/react-components/issues/93","id":230867500,"user":{"login":"philschatz","id":253202,"avatar_url":"https://avatars.githubusercontent.com/u/253202?v=3","gravatar_id":"","url":"https://api.github.com/users/philschatz","html_url":"https://github.com/philschatz","followers_url":"https://api.github.com/users/philschatz/followers","following_url":"https://api.github.com/users/philschatz/following{/other_user}","gists_url":"https://api.github.com/users/philschatz/gists{/gist_id}","starred_url":"https://api.github.com/users/philschatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philschatz/subscriptions","organizations_url":"https://api.github.com/users/philschatz/orgs","repos_url":"https://api.github.com/users/philschatz/repos","events_url":"https://api.github.com/users/philschatz/events{/privacy}","received_events_url":"https://api.github.com/users/philschatz/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T18:46:55Z","updated_at":"2016-07-06T18:46:55Z","body":"I'm a little scared of processing the entire document (we've run into problems with React complaining about invariant errors); Why would the nodes be processed more than once? Could we either add a class on them (ie `math-processing`) to indicate that MathJax has begun processing that node?"}}
{"actor":{"display_login":"philschatz"}}