{"action":"closed","issue":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/2045","repository_url":"https://api.github.com/repos/bridgedotnet/Bridge","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/2045/labels{/name}","comments_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/2045/comments","events_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/2045/events","html_url":"https://github.com/bridgedotnet/Bridge/issues/2045","id":188481290,"number":2045,"title":"Double Escaping / Incorrect Escaping in String Interpolation","user":{"login":"calcock","id":574233,"avatar_url":"https://avatars.githubusercontent.com/u/574233?v=3","gravatar_id":"","url":"https://api.github.com/users/calcock","html_url":"https://github.com/calcock","followers_url":"https://api.github.com/users/calcock/followers","following_url":"https://api.github.com/users/calcock/following{/other_user}","gists_url":"https://api.github.com/users/calcock/gists{/gist_id}","starred_url":"https://api.github.com/users/calcock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calcock/subscriptions","organizations_url":"https://api.github.com/users/calcock/orgs","repos_url":"https://api.github.com/users/calcock/repos","events_url":"https://api.github.com/users/calcock/events{/privacy}","received_events_url":"https://api.github.com/users/calcock/received_events","type":"User","site_admin":false},"labels":[{"id":74689535,"url":"https://api.github.com/repos/bridgedotnet/Bridge/labels/defect","name":"defect","color":"FF4136","default":false}],"state":"closed","locked":false,"assignee":{"login":"vladsch","id":378225,"avatar_url":"https://avatars.githubusercontent.com/u/378225?v=3","gravatar_id":"","url":"https://api.github.com/users/vladsch","html_url":"https://github.com/vladsch","followers_url":"https://api.github.com/users/vladsch/followers","following_url":"https://api.github.com/users/vladsch/following{/other_user}","gists_url":"https://api.github.com/users/vladsch/gists{/gist_id}","starred_url":"https://api.github.com/users/vladsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladsch/subscriptions","organizations_url":"https://api.github.com/users/vladsch/orgs","repos_url":"https://api.github.com/users/vladsch/repos","events_url":"https://api.github.com/users/vladsch/events{/privacy}","received_events_url":"https://api.github.com/users/vladsch/received_events","type":"User","site_admin":false},"assignees":[{"login":"vladsch","id":378225,"avatar_url":"https://avatars.githubusercontent.com/u/378225?v=3","gravatar_id":"","url":"https://api.github.com/users/vladsch","html_url":"https://github.com/vladsch","followers_url":"https://api.github.com/users/vladsch/followers","following_url":"https://api.github.com/users/vladsch/following{/other_user}","gists_url":"https://api.github.com/users/vladsch/gists{/gist_id}","starred_url":"https://api.github.com/users/vladsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladsch/subscriptions","organizations_url":"https://api.github.com/users/vladsch/orgs","repos_url":"https://api.github.com/users/vladsch/repos","events_url":"https://api.github.com/users/vladsch/events{/privacy}","received_events_url":"https://api.github.com/users/vladsch/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/33","html_url":"https://github.com/bridgedotnet/Bridge/milestones/15.5","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/33/labels","id":2105980,"number":33,"title":"15.5","description":"","creator":{"login":"geoffreymcgill","id":62210,"avatar_url":"https://avatars.githubusercontent.com/u/62210?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreymcgill","html_url":"https://github.com/geoffreymcgill","followers_url":"https://api.github.com/users/geoffreymcgill/followers","following_url":"https://api.github.com/users/geoffreymcgill/following{/other_user}","gists_url":"https://api.github.com/users/geoffreymcgill/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreymcgill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreymcgill/subscriptions","organizations_url":"https://api.github.com/users/geoffreymcgill/orgs","repos_url":"https://api.github.com/users/geoffreymcgill/repos","events_url":"https://api.github.com/users/geoffreymcgill/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreymcgill/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":9,"state":"open","created_at":"2016-11-01T04:05:41Z","updated_at":"2016-11-16T09:35:06Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-11-10T11:13:46Z","updated_at":"2016-11-16T09:35:06Z","closed_at":"2016-11-16T09:35:06Z","body":"Strings generated by string interpolation which include escaped quotes in C# are being double escaped in the output JavaScript.   [MSDN](https://msdn.microsoft.com/en-GB/library/dn961160.aspx) states that the standard string escaping rules apply in interpolation strings (apart from inside the expression part):\r\n\r\n> Outside of the contained interpolation expression (but still within the interpolated string expression) you escape quotation characters as you normally would.\r\n\r\n### Expected\r\n\r\n```js\r\nBridge.Console.log(System.String.format(\"Hello \\\"World!\\\"\", null));\r\n```\r\n\r\n### Actual\r\n\r\n```js\r\nBridge.Console.log(System.String.format(\"Hello \\\\\\\"World!\\\\\\\"\", null));\r\n```\r\n\r\n### Steps To Reproduce\r\n\r\n[Deck](http://deck.net/f16537b54933440fcfdad1bd7ef5bd59)\r\n\r\n```cs\r\npublic class Program\r\n{\r\n    public static void Main()\r\n    {\r\n        Console.WriteLine($\"Hello \\\"World!\\\"\");\r\n    }\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"LeonidVeriga"}}