{"action":"created","issue":{"url":"https://api.github.com/repos/atom/language-coffee-script/issues/50","labels_url":"https://api.github.com/repos/atom/language-coffee-script/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/atom/language-coffee-script/issues/50/comments","events_url":"https://api.github.com/repos/atom/language-coffee-script/issues/50/events","html_url":"https://github.com/atom/language-coffee-script/issues/50","id":66181872,"number":50,"title":"Embedded JS highlighting is broken","user":{"login":"davewasmer","id":707213,"avatar_url":"https://avatars.githubusercontent.com/u/707213?v=3","gravatar_id":"","url":"https://api.github.com/users/davewasmer","html_url":"https://github.com/davewasmer","followers_url":"https://api.github.com/users/davewasmer/followers","following_url":"https://api.github.com/users/davewasmer/following{/other_user}","gists_url":"https://api.github.com/users/davewasmer/gists{/gist_id}","starred_url":"https://api.github.com/users/davewasmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davewasmer/subscriptions","organizations_url":"https://api.github.com/users/davewasmer/orgs","repos_url":"https://api.github.com/users/davewasmer/repos","events_url":"https://api.github.com/users/davewasmer/events{/privacy}","received_events_url":"https://api.github.com/users/davewasmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/language-coffee-script/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-03T16:38:40Z","updated_at":"2015-04-06T21:12:01Z","closed_at":null,"body":"If you use backticks (`) to escape raw JavaScript in your Coffeescript file, it seems to break the syntax highlighting / parsing.\r\n\r\nThe following line causes this:\r\n\r\n```coffee\r\n`import Foo from 'bar'`\r\n```\r\n\r\nIt seems that the interior of the backticks is parsed as JavaScript (cool!), but since ES6 supports backticks for string templating, it sees the the ending backtick as the start of an ES6 template string, rather than the terminating escape character in Coffeescript (not cool).\r\n\r\nInterestingly, this only seems to appear in Atom v0.189.0. The prior version (v0.188.0) doesn't show this problem. Not sure if this issue belongs here or in the Atom repo, let me know."},"comment":{"url":"https://api.github.com/repos/atom/language-coffee-script/issues/comments/90246004","html_url":"https://github.com/atom/language-coffee-script/issues/50#issuecomment-90246004","issue_url":"https://api.github.com/repos/atom/language-coffee-script/issues/50","id":90246004,"user":{"login":"blimmer","id":630449,"avatar_url":"https://avatars.githubusercontent.com/u/630449?v=3","gravatar_id":"","url":"https://api.github.com/users/blimmer","html_url":"https://github.com/blimmer","followers_url":"https://api.github.com/users/blimmer/followers","following_url":"https://api.github.com/users/blimmer/following{/other_user}","gists_url":"https://api.github.com/users/blimmer/gists{/gist_id}","starred_url":"https://api.github.com/users/blimmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blimmer/subscriptions","organizations_url":"https://api.github.com/users/blimmer/orgs","repos_url":"https://api.github.com/users/blimmer/repos","events_url":"https://api.github.com/users/blimmer/events{/privacy}","received_events_url":"https://api.github.com/users/blimmer/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T21:12:01Z","updated_at":"2015-04-06T21:12:01Z","body":"The semicolon is a workaround, but it's not necessary in CoffeeScript land. Can confirm that this is broken on my machine, too."}}