{"action":"opened","issue":{"url":"https://api.github.com/repos/mathjax/MathJax-node/issues/228","repository_url":"https://api.github.com/repos/mathjax/MathJax-node","labels_url":"https://api.github.com/repos/mathjax/MathJax-node/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/mathjax/MathJax-node/issues/228/comments","events_url":"https://api.github.com/repos/mathjax/MathJax-node/issues/228/events","html_url":"https://github.com/mathjax/MathJax-node/issues/228","id":152603700,"number":228,"title":"[CommonHTML] img tags not closed","user":{"login":"pkra","id":426686,"avatar_url":"https://avatars.githubusercontent.com/u/426686?v=3","gravatar_id":"","url":"https://api.github.com/users/pkra","html_url":"https://github.com/pkra","followers_url":"https://api.github.com/users/pkra/followers","following_url":"https://api.github.com/users/pkra/following{/other_user}","gists_url":"https://api.github.com/users/pkra/gists{/gist_id}","starred_url":"https://api.github.com/users/pkra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkra/subscriptions","organizations_url":"https://api.github.com/users/pkra/orgs","repos_url":"https://api.github.com/users/pkra/repos","events_url":"https://api.github.com/users/pkra/events{/privacy}","received_events_url":"https://api.github.com/users/pkra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-02T17:43:02Z","updated_at":"2016-05-02T17:43:02Z","closed_at":null,"body":"When using `mglyph`'s, the result has unclosed (not self-closing) img tags.\r\n\r\nE.g.,\r\n\r\n```html\r\n<math xmlns=\"http://www.w3.org/1998/Math/MathML\" display=\"block\">\r\n  <mi><mglyph width=\"1\" height=\"1\" src=\"bla.png\" alt=\"Bla\"/></mi>\r\n</math>\r\n``\r\n\r\nproduces \r\n\r\n```html\r\n<span class=\"mjx-chtml MJXc-display\" style=\"text-align: center;\"><span id=\"MathJax-Element-1-Frame\" class=\"mjx-chtml\"><span id=\"MJXc-Node-1\" class=\"mjx-math\" role=\"math\"><span id=\"MJXc-Node-2\" class=\"mjx-mrow\"><span id=\"MJXc-Node-3\" class=\"mjx-mi\"><span id=\"MJXc-Node-4\" class=\"mjx-mglyph\"><img src=\"bla.png\" alt=\"Bla\" title=\"Bla\" style=\"width: 0px; height: 0px; vertical-align: 0;\"></span></span></span></span></span></span>\r\n```\r\n"}}