{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/1845","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/1845/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/1845/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/1845/events","html_url":"https://github.com/Microsoft/vscode/issues/1845","id":125325853,"number":1845,"title":"Newline characters not escaped correctly","user":{"login":"mastazi","id":1661655,"avatar_url":"https://avatars.githubusercontent.com/u/1661655?v=3","gravatar_id":"","url":"https://api.github.com/users/mastazi","html_url":"https://github.com/mastazi","followers_url":"https://api.github.com/users/mastazi/followers","following_url":"https://api.github.com/users/mastazi/following{/other_user}","gists_url":"https://api.github.com/users/mastazi/gists{/gist_id}","starred_url":"https://api.github.com/users/mastazi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mastazi/subscriptions","organizations_url":"https://api.github.com/users/mastazi/orgs","repos_url":"https://api.github.com/users/mastazi/repos","events_url":"https://api.github.com/users/mastazi/events{/privacy}","received_events_url":"https://api.github.com/users/mastazi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-07T05:34:04Z","updated_at":"2016-01-07T05:34:04Z","closed_at":null,"body":"In many languages you can write a multi-line string by escaping the newline character, e.g.:\r\n\r\n    myString = \"this \\\r\n    is a multiline \\\r\n    string\";\r\n\r\nHowever, in vscode, the text highlighting is broken when you have multi-line strings (the colour assigned to the string is only applied to the part of the string before the first back-slash, and as a result the text highlighting of the remaining part of the file is broken too).\r\nI was able to reproduce the issue in both JS and PHP files, other languages might be affected too."}}