{"action":"created","issue":{"url":"https://api.github.com/repos/mathjax/MathJax/issues/1528","repository_url":"https://api.github.com/repos/mathjax/MathJax","labels_url":"https://api.github.com/repos/mathjax/MathJax/issues/1528/labels{/name}","comments_url":"https://api.github.com/repos/mathjax/MathJax/issues/1528/comments","events_url":"https://api.github.com/repos/mathjax/MathJax/issues/1528/events","html_url":"https://github.com/mathjax/MathJax/issues/1528","id":160527450,"number":1528,"title":"AssistiveMML not writing MathML for dynamic math","user":{"login":"NSoiffer","id":1545836,"avatar_url":"https://avatars.githubusercontent.com/u/1545836?v=3","gravatar_id":"","url":"https://api.github.com/users/NSoiffer","html_url":"https://github.com/NSoiffer","followers_url":"https://api.github.com/users/NSoiffer/followers","following_url":"https://api.github.com/users/NSoiffer/following{/other_user}","gists_url":"https://api.github.com/users/NSoiffer/gists{/gist_id}","starred_url":"https://api.github.com/users/NSoiffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NSoiffer/subscriptions","organizations_url":"https://api.github.com/users/NSoiffer/orgs","repos_url":"https://api.github.com/users/NSoiffer/repos","events_url":"https://api.github.com/users/NSoiffer/events{/privacy}","received_events_url":"https://api.github.com/users/NSoiffer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-15T21:24:17Z","updated_at":"2016-06-15T21:42:54Z","closed_at":null,"body":"Using the attached sample page, the static math at the top creates the appropriate `<span class=\"MJX_Assivstive_MathML\" ...>` tag. However, the dynamically created MathML which uses\r\n`    MathJax.Hub.Queue([\"Typeset\",MathJax.Hub,\"mathElement\"]);`\r\nafter inserting the math in the page only creates the HTML/CSS math, not the `class=\"MJX_Assivstive_MathML\"` part.\r\n\r\nNote: to see the dynamic math easily, fill in the first and second arguments and click on the \"Divide\" button. Then click on \"Calculate\" and use the browser's DOM inspector to see that the assistive part is missing.\r\n\r\nSample page: [pesrson-sample.zip](https://github.com/mathjax/MathJax/files/317239/pesrson-sample.zip)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mathjax/MathJax/issues/comments/226329162","html_url":"https://github.com/mathjax/MathJax/issues/1528#issuecomment-226329162","issue_url":"https://api.github.com/repos/mathjax/MathJax/issues/1528","id":226329162,"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":"2016-06-15T21:42:53Z","updated_at":"2016-06-15T21:42:53Z","body":"I'm not able to reproduce the problem.  Your document includes the span with `class=\"MJX_Assistive_MathML\"` on both the original and the computed equation for me.  I tried in Firefox, Chrome, and Safari on Mac OS X.  What browser/OS are you using?\r\n\r\nHere is a snapshot of Chrome with the assistive MathML selected.  Note from the `data-mathml` attribute of the containing span that this is the computed math.\r\n\r\n![assistivemml](https://cloud.githubusercontent.com/assets/432782/16098361/8bf559c6-3320-11e6-99bf-496c92a566de.png)\r\n"}}
{"actor":{"display_login":"dpvc"}}