{"action":"created","issue":{"url":"https://api.github.com/repos/brucemiller/LaTeXML/issues/974","repository_url":"https://api.github.com/repos/brucemiller/LaTeXML","labels_url":"https://api.github.com/repos/brucemiller/LaTeXML/issues/974/labels{/name}","comments_url":"https://api.github.com/repos/brucemiller/LaTeXML/issues/974/comments","events_url":"https://api.github.com/repos/brucemiller/LaTeXML/issues/974/events","html_url":"https://github.com/brucemiller/LaTeXML/pull/974","id":316797380,"number":974,"title":"use double quotes for XPath attribute values","user":{"login":"dginev","id":348975,"avatar_url":"https://avatars2.githubusercontent.com/u/348975?v=4","gravatar_id":"","url":"https://api.github.com/users/dginev","html_url":"https://github.com/dginev","followers_url":"https://api.github.com/users/dginev/followers","following_url":"https://api.github.com/users/dginev/following{/other_user}","gists_url":"https://api.github.com/users/dginev/gists{/gist_id}","starred_url":"https://api.github.com/users/dginev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dginev/subscriptions","organizations_url":"https://api.github.com/users/dginev/orgs","repos_url":"https://api.github.com/users/dginev/repos","events_url":"https://api.github.com/users/dginev/events{/privacy}","received_events_url":"https://api.github.com/users/dginev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-23T12:48:29Z","updated_at":"2018-05-03T20:07:12Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/brucemiller/LaTeXML/pulls/974","html_url":"https://github.com/brucemiller/LaTeXML/pull/974","diff_url":"https://github.com/brucemiller/LaTeXML/pull/974.diff","patch_url":"https://github.com/brucemiller/LaTeXML/pull/974.patch"},"body":"Fixes a Perl fatal in post-processing caused by the amazing:\r\n```\r\n\\newtheorem*{thm1.2'}{Theorem 1.2$'$}\r\n```\r\n\r\nof 1802.04737 in arXiv.\r\n\r\nApparently XPath has no way of escaping apostrophes, so the attribute value selectors need to always be in double quotes."},"comment":{"url":"https://api.github.com/repos/brucemiller/LaTeXML/issues/comments/386419996","html_url":"https://github.com/brucemiller/LaTeXML/pull/974#issuecomment-386419996","issue_url":"https://api.github.com/repos/brucemiller/LaTeXML/issues/974","id":386419996,"user":{"login":"dginev","id":348975,"avatar_url":"https://avatars2.githubusercontent.com/u/348975?v=4","gravatar_id":"","url":"https://api.github.com/users/dginev","html_url":"https://github.com/dginev","followers_url":"https://api.github.com/users/dginev/followers","following_url":"https://api.github.com/users/dginev/following{/other_user}","gists_url":"https://api.github.com/users/dginev/gists{/gist_id}","starred_url":"https://api.github.com/users/dginev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dginev/subscriptions","organizations_url":"https://api.github.com/users/dginev/orgs","repos_url":"https://api.github.com/users/dginev/repos","events_url":"https://api.github.com/users/dginev/events{/privacy}","received_events_url":"https://api.github.com/users/dginev/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T20:07:12Z","updated_at":"2018-05-03T20:07:12Z","author_association":"COLLABORATOR","body":"Oh, that's easy, in LaTeX.pool there is a `defineNewTheorem` subroutine responsible for building out the infrastructure for `\\newtheorem` definitions.\r\n\r\nAnd that subroutine creates `idprefix`-es that are not sanitized for apostrophes and such. And I think they remain unsanitized? At least it looks that way from the final markup."}}
{"actor":{"display_login":"dginev"}}