{"action":"created","issue":{"url":"https://api.github.com/repos/github/linguist/issues/2529","labels_url":"https://api.github.com/repos/github/linguist/issues/2529/labels{/name}","comments_url":"https://api.github.com/repos/github/linguist/issues/2529/comments","events_url":"https://api.github.com/repos/github/linguist/issues/2529/events","html_url":"https://github.com/github/linguist/issues/2529","id":98430744,"number":2529,"title":"Single quote character problematic in CoffeeScript","user":{"login":"mdouglasbrett","id":4963801,"avatar_url":"https://avatars.githubusercontent.com/u/4963801?v=3","gravatar_id":"","url":"https://api.github.com/users/mdouglasbrett","html_url":"https://github.com/mdouglasbrett","followers_url":"https://api.github.com/users/mdouglasbrett/followers","following_url":"https://api.github.com/users/mdouglasbrett/following{/other_user}","gists_url":"https://api.github.com/users/mdouglasbrett/gists{/gist_id}","starred_url":"https://api.github.com/users/mdouglasbrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdouglasbrett/subscriptions","organizations_url":"https://api.github.com/users/mdouglasbrett/orgs","repos_url":"https://api.github.com/users/mdouglasbrett/repos","events_url":"https://api.github.com/users/mdouglasbrett/events{/privacy}","received_events_url":"https://api.github.com/users/mdouglasbrett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-31T17:00:59Z","updated_at":"2015-08-01T14:39:12Z","closed_at":null,"body":"Hi guys, \r\n\r\nHope you're ok, I came across this when I was looking through a README (https://github.com/zooniverse/Panoptes-Front-End):\r\n\r\n```coffee\r\n<ChangeListener target={auth}>{=>\r\n  <PromiseRenderer promise={auth.checkCurrent()}>{(user) =>\r\n    if user?\r\n      <p>User is {user.display_name}</p>\r\n    else\r\n      <p>Nobody's signed in.</p>\r\n  }</PromiseRenderer>\r\n}</ChangeListener>\r\n```\r\nThe single quote starts a string that doesn't end. I had a go at escaping it and I'm not sure that you can:\r\n\r\n```coffee\r\n<ChangeListener target={auth}>{=>\r\n  <PromiseRenderer promise={auth.checkCurrent()}>{(user) =>\r\n    if user?\r\n      <p>User is {user.display_name}</p>\r\n    else\r\n      <p>Nobody\\'s signed in.</p>\r\n  }</PromiseRenderer>\r\n}</ChangeListener>\r\n\r\n```\r\n\r\nIs this a bug, or am I missing something incredibly obvious?\r\n\r\nAll the best,\r\n\r\nMike"},"comment":{"url":"https://api.github.com/repos/github/linguist/issues/comments/126921974","html_url":"https://github.com/github/linguist/issues/2529#issuecomment-126921974","issue_url":"https://api.github.com/repos/github/linguist/issues/2529","id":126921974,"user":{"login":"mdouglasbrett","id":4963801,"avatar_url":"https://avatars.githubusercontent.com/u/4963801?v=3","gravatar_id":"","url":"https://api.github.com/users/mdouglasbrett","html_url":"https://github.com/mdouglasbrett","followers_url":"https://api.github.com/users/mdouglasbrett/followers","following_url":"https://api.github.com/users/mdouglasbrett/following{/other_user}","gists_url":"https://api.github.com/users/mdouglasbrett/gists{/gist_id}","starred_url":"https://api.github.com/users/mdouglasbrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdouglasbrett/subscriptions","organizations_url":"https://api.github.com/users/mdouglasbrett/orgs","repos_url":"https://api.github.com/users/mdouglasbrett/repos","events_url":"https://api.github.com/users/mdouglasbrett/events{/privacy}","received_events_url":"https://api.github.com/users/mdouglasbrett/received_events","type":"User","site_admin":false},"created_at":"2015-08-01T14:39:12Z","updated_at":"2015-08-01T14:39:12Z","body":"Cool. Done :)"}}