{"action":"created","issue":{"url":"https://api.github.com/repos/jhy/jsoup/issues/716","repository_url":"https://api.github.com/repos/jhy/jsoup","labels_url":"https://api.github.com/repos/jhy/jsoup/issues/716/labels{/name}","comments_url":"https://api.github.com/repos/jhy/jsoup/issues/716/comments","events_url":"https://api.github.com/repos/jhy/jsoup/issues/716/events","html_url":"https://github.com/jhy/jsoup/issues/716","id":160151164,"number":716,"title":"Inifinite loop while parsing not proper html string","user":{"login":"moonm4n","id":19927894,"avatar_url":"https://avatars.githubusercontent.com/u/19927894?v=3","gravatar_id":"","url":"https://api.github.com/users/moonm4n","html_url":"https://github.com/moonm4n","followers_url":"https://api.github.com/users/moonm4n/followers","following_url":"https://api.github.com/users/moonm4n/following{/other_user}","gists_url":"https://api.github.com/users/moonm4n/gists{/gist_id}","starred_url":"https://api.github.com/users/moonm4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moonm4n/subscriptions","organizations_url":"https://api.github.com/users/moonm4n/orgs","repos_url":"https://api.github.com/users/moonm4n/repos","events_url":"https://api.github.com/users/moonm4n/events{/privacy}","received_events_url":"https://api.github.com/users/moonm4n/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-14T10:47:16Z","updated_at":"2016-08-05T23:44:53Z","closed_at":"2016-08-05T23:44:53Z","body":"Hi,\r\n\r\nWe've got this error where while parsing an html string with some incorrect tags in it the parser gets stuck in an infinite loop. The problem only exist if letters with accents are present.\r\n\r\nExample code:\r\n```\r\nString tmp = \"<html><body><p><title>xxx yyy</ikzép> zzz</p></body></html>\";\r\nDocument doc = Jsoup.parse(tmp);\r\n```\r\n\r\nIf I replace the \"é\" character in the string it works as expected.\r\n\r\n**Result:** \r\nThe parse function never returns and doesn't accept Interrupt when trying to kill the thread (e.g. we use this function in a Future object, but we cannot kill it if it doesn't return in time).\r\n\r\n**Expected result:**\r\nEither return with a valid html string or have the ability to die gracefully.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/jhy/jsoup/issues/comments/237990529","html_url":"https://github.com/jhy/jsoup/issues/716#issuecomment-237990529","issue_url":"https://api.github.com/repos/jhy/jsoup/issues/716","id":237990529,"user":{"login":"jhy","id":76934,"avatar_url":"https://avatars.githubusercontent.com/u/76934?v=3","gravatar_id":"","url":"https://api.github.com/users/jhy","html_url":"https://github.com/jhy","followers_url":"https://api.github.com/users/jhy/followers","following_url":"https://api.github.com/users/jhy/following{/other_user}","gists_url":"https://api.github.com/users/jhy/gists{/gist_id}","starred_url":"https://api.github.com/users/jhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhy/subscriptions","organizations_url":"https://api.github.com/users/jhy/orgs","repos_url":"https://api.github.com/users/jhy/repos","events_url":"https://api.github.com/users/jhy/events{/privacy}","received_events_url":"https://api.github.com/users/jhy/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T23:44:53Z","updated_at":"2016-08-05T23:44:53Z","body":"Sorry you got hit with that. This was fixed in Release 1.9.2 [2016-May-17]."}}
{"actor":{"display_login":"jhy"}}