{"action":"created","issue":{"url":"https://api.github.com/repos/Deleplace/programming-idioms/issues/61","repository_url":"https://api.github.com/repos/Deleplace/programming-idioms","labels_url":"https://api.github.com/repos/Deleplace/programming-idioms/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/Deleplace/programming-idioms/issues/61/comments","events_url":"https://api.github.com/repos/Deleplace/programming-idioms/issues/61/events","html_url":"https://github.com/Deleplace/programming-idioms/issues/61","id":171599355,"number":61,"title":"Broken Haskell syntax highlighting","user":{"login":"Deleplace","id":13508141,"avatar_url":"https://avatars.githubusercontent.com/u/13508141?v=3","gravatar_id":"","url":"https://api.github.com/users/Deleplace","html_url":"https://github.com/Deleplace","followers_url":"https://api.github.com/users/Deleplace/followers","following_url":"https://api.github.com/users/Deleplace/following{/other_user}","gists_url":"https://api.github.com/users/Deleplace/gists{/gist_id}","starred_url":"https://api.github.com/users/Deleplace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deleplace/subscriptions","organizations_url":"https://api.github.com/users/Deleplace/orgs","repos_url":"https://api.github.com/users/Deleplace/repos","events_url":"https://api.github.com/users/Deleplace/events{/privacy}","received_events_url":"https://api.github.com/users/Deleplace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Deleplace","id":13508141,"avatar_url":"https://avatars.githubusercontent.com/u/13508141?v=3","gravatar_id":"","url":"https://api.github.com/users/Deleplace","html_url":"https://github.com/Deleplace","followers_url":"https://api.github.com/users/Deleplace/followers","following_url":"https://api.github.com/users/Deleplace/following{/other_user}","gists_url":"https://api.github.com/users/Deleplace/gists{/gist_id}","starred_url":"https://api.github.com/users/Deleplace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deleplace/subscriptions","organizations_url":"https://api.github.com/users/Deleplace/orgs","repos_url":"https://api.github.com/users/Deleplace/repos","events_url":"https://api.github.com/users/Deleplace/events{/privacy}","received_events_url":"https://api.github.com/users/Deleplace/received_events","type":"User","site_admin":false},"assignees":[{"login":"Deleplace","id":13508141,"avatar_url":"https://avatars.githubusercontent.com/u/13508141?v=3","gravatar_id":"","url":"https://api.github.com/users/Deleplace","html_url":"https://github.com/Deleplace","followers_url":"https://api.github.com/users/Deleplace/followers","following_url":"https://api.github.com/users/Deleplace/following{/other_user}","gists_url":"https://api.github.com/users/Deleplace/gists{/gist_id}","starred_url":"https://api.github.com/users/Deleplace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deleplace/subscriptions","organizations_url":"https://api.github.com/users/Deleplace/orgs","repos_url":"https://api.github.com/users/Deleplace/repos","events_url":"https://api.github.com/users/Deleplace/events{/privacy}","received_events_url":"https://api.github.com/users/Deleplace/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-17T08:13:48Z","updated_at":"2016-08-17T10:53:46Z","closed_at":null,"body":"Cf screenshot, and http://www.programming-idioms.org/idiom/89/handle-invalid-argument/1789/haskell\r\n<img width=\"605\" alt=\"colors syntax haskell\" src=\"https://cloud.githubusercontent.com/assets/13508141/17729178/404eef86-6463-11e6-9533-9cb8c9870ded.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/Deleplace/programming-idioms/issues/comments/240378537","html_url":"https://github.com/Deleplace/programming-idioms/issues/61#issuecomment-240378537","issue_url":"https://api.github.com/repos/Deleplace/programming-idioms/issues/61","id":240378537,"user":{"login":"jiri","id":661524,"avatar_url":"https://avatars.githubusercontent.com/u/661524?v=3","gravatar_id":"","url":"https://api.github.com/users/jiri","html_url":"https://github.com/jiri","followers_url":"https://api.github.com/users/jiri/followers","following_url":"https://api.github.com/users/jiri/following{/other_user}","gists_url":"https://api.github.com/users/jiri/gists{/gist_id}","starred_url":"https://api.github.com/users/jiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiri/subscriptions","organizations_url":"https://api.github.com/users/jiri/orgs","repos_url":"https://api.github.com/users/jiri/repos","events_url":"https://api.github.com/users/jiri/events{/privacy}","received_events_url":"https://api.github.com/users/jiri/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T10:53:45Z","updated_at":"2016-08-17T10:53:45Z","body":"After a brief inspection of `code-prettify`, it appears that the issue is with the definition of Haskell highlighting.\r\n\r\n```js\r\n[PR['PR_STRING'],      /^\\\"(?:[^\\\"\\\\\\n\\x0C\\r]|\\\\[\\s\\S])*(?:\\\"|$)/,\r\n          null, '\"'],\r\n[PR['PR_STRING'],      /^\\'(?:[^\\'\\\\\\n\\x0C\\r]|\\\\[^&])\\'?/,\r\n          null, \"'\"],\r\n```\r\n\r\nSeeing as Haskell doesn't have single-quoted strings, this should probably be delegated as an issue to code-prettify itself. Haskell Wiki has the same problem, though I'm not sure whether they use `code-prettify` too."}}
{"actor":{"display_login":"jiri"}}