{"action":"opened","issue":{"url":"https://api.github.com/repos/JanKallman/EPPlus/issues/298","repository_url":"https://api.github.com/repos/JanKallman/EPPlus","labels_url":"https://api.github.com/repos/JanKallman/EPPlus/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/JanKallman/EPPlus/issues/298/comments","events_url":"https://api.github.com/repos/JanKallman/EPPlus/issues/298/events","html_url":"https://github.com/JanKallman/EPPlus/issues/298","id":354314777,"node_id":"MDU6SXNzdWUzNTQzMTQ3Nzc=","number":298,"title":"Test Property is not right when the cell format contains two double quotes","user":{"login":"Tarboeuf","id":5155564,"node_id":"MDQ6VXNlcjUxNTU1NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5155564?v=4","gravatar_id":"","url":"https://api.github.com/users/Tarboeuf","html_url":"https://github.com/Tarboeuf","followers_url":"https://api.github.com/users/Tarboeuf/followers","following_url":"https://api.github.com/users/Tarboeuf/following{/other_user}","gists_url":"https://api.github.com/users/Tarboeuf/gists{/gist_id}","starred_url":"https://api.github.com/users/Tarboeuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tarboeuf/subscriptions","organizations_url":"https://api.github.com/users/Tarboeuf/orgs","repos_url":"https://api.github.com/users/Tarboeuf/repos","events_url":"https://api.github.com/users/Tarboeuf/events{/privacy}","received_events_url":"https://api.github.com/users/Tarboeuf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-27T13:17:18Z","updated_at":"2018-08-27T13:17:18Z","closed_at":null,"author_association":"NONE","body":"[x] Write a detailed description of your issue.\r\nThere is an issue when there is a Format containing two double quotes. \r\nlooking at the code, \r\nThe current Test return \"1-11,0\" instead of \"1-1.1\".\r\n\r\n[x] Attach a test to reproduce your issue, if it is a bug or unexpected behaviour. This is very important. \r\n\r\n        [TestMethod]\r\n        public void IssueFormat()\r\n        {\r\n            using (var package = new ExcelPackage())\r\n            {\r\n                var ws = package.Workbook.Worksheets.Add(\"Test\");\r\n                ws.Cells[\"A1\"].Value = 1;\r\n                ws.Cells[\"A1\"].Style.Numberformat.Format = \"\\\"1-1.\\\"0\";\r\n                Assert.AreEqual(\"1-1.1\", ws.Cells[\"A1\"].Text);\r\n                ws.Dispose();\r\n            }\r\n        }\r\n"}}
{"actor":{"display_login":"Tarboeuf"}}