{"action":"created","issue":{"url":"https://api.github.com/repos/reutenauer/polyglossia/issues/103","labels_url":"https://api.github.com/repos/reutenauer/polyglossia/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/reutenauer/polyglossia/issues/103/comments","events_url":"https://api.github.com/repos/reutenauer/polyglossia/issues/103/events","html_url":"https://github.com/reutenauer/polyglossia/pull/103","id":93675142,"number":103,"title":"korean, luatex: use attribute in switching languages","user":{"login":"dohyunkim","id":4328134,"avatar_url":"https://avatars.githubusercontent.com/u/4328134?v=3","gravatar_id":"","url":"https://api.github.com/users/dohyunkim","html_url":"https://github.com/dohyunkim","followers_url":"https://api.github.com/users/dohyunkim/followers","following_url":"https://api.github.com/users/dohyunkim/following{/other_user}","gists_url":"https://api.github.com/users/dohyunkim/gists{/gist_id}","starred_url":"https://api.github.com/users/dohyunkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dohyunkim/subscriptions","organizations_url":"https://api.github.com/users/dohyunkim/orgs","repos_url":"https://api.github.com/users/dohyunkim/repos","events_url":"https://api.github.com/users/dohyunkim/events{/privacy}","received_events_url":"https://api.github.com/users/dohyunkim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T02:27:58Z","updated_at":"2015-07-08T07:29:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/reutenauer/polyglossia/pulls/103","html_url":"https://github.com/reutenauer/polyglossia/pull/103","diff_url":"https://github.com/reutenauer/polyglossia/pull/103.diff","patch_url":"https://github.com/reutenauer/polyglossia/pull/103.patch"},"body":"I have found that previous Korean module might affect other languages in a very rare condition. This PR addresses the issue by using `attribute` instead of adding/removing callback functions for switching lanaguages. Hope that you have not uploaded to ctan yet. Sorry for the troublesome."},"comment":{"url":"https://api.github.com/repos/reutenauer/polyglossia/issues/comments/119468513","html_url":"https://github.com/reutenauer/polyglossia/pull/103#issuecomment-119468513","issue_url":"https://api.github.com/repos/reutenauer/polyglossia/issues/103","id":119468513,"user":{"login":"dohyunkim","id":4328134,"avatar_url":"https://avatars.githubusercontent.com/u/4328134?v=3","gravatar_id":"","url":"https://api.github.com/users/dohyunkim","html_url":"https://github.com/dohyunkim","followers_url":"https://api.github.com/users/dohyunkim/followers","following_url":"https://api.github.com/users/dohyunkim/following{/other_user}","gists_url":"https://api.github.com/users/dohyunkim/gists{/gist_id}","starred_url":"https://api.github.com/users/dohyunkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dohyunkim/subscriptions","organizations_url":"https://api.github.com/users/dohyunkim/orgs","repos_url":"https://api.github.com/users/dohyunkim/repos","events_url":"https://api.github.com/users/dohyunkim/events{/privacy}","received_events_url":"https://api.github.com/users/dohyunkim/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T07:29:44Z","updated_at":"2015-07-08T07:29:44Z","body":"a tex file for testing (compile with lualatex):\r\n```\r\n\\documentclass{article}\r\n\\usepackage{polyglossia}\r\n\\setdefaultlanguage{english}\r\n\\setotherlanguage{korean}\r\n\\newfontfamily\\koreanfont{NanumGothic}\r\n\\begin{document}\r\n\\hsize=1pt\r\nTest—english.\r\n\\textkorean{한글}\r\n\\end{document}\r\n```"}}