{"action":"created","issue":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1883","repository_url":"https://api.github.com/repos/Cockatrice/Cockatrice","labels_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1883/labels{/name}","comments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1883/comments","events_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1883/events","html_url":"https://github.com/Cockatrice/Cockatrice/issues/1883","id":143099975,"number":1883,"title":"Pasting in a deck from clipboard could be smarter","user":{"login":"leematos","id":359140,"avatar_url":"https://avatars.githubusercontent.com/u/359140?v=3","gravatar_id":"","url":"https://api.github.com/users/leematos","html_url":"https://github.com/leematos","followers_url":"https://api.github.com/users/leematos/followers","following_url":"https://api.github.com/users/leematos/following{/other_user}","gists_url":"https://api.github.com/users/leematos/gists{/gist_id}","starred_url":"https://api.github.com/users/leematos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leematos/subscriptions","organizations_url":"https://api.github.com/users/leematos/orgs","repos_url":"https://api.github.com/users/leematos/repos","events_url":"https://api.github.com/users/leematos/events{/privacy}","received_events_url":"https://api.github.com/users/leematos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-23T22:50:36Z","updated_at":"2016-03-23T23:01:33Z","closed_at":null,"body":"<b>Cockatrice version:</b>\r\nVersion cbea432 (2016-03-08)\r\n\r\n___\r\n<br>\r\n\r\nCurrently trice only supports deck pastes in the current format:\r\n\r\n4 ..\r\n3 ..\r\n5 ..\r\nSB: 4 ..\r\nSB: 3 ..\r\n\r\nWe should add support for at least:\r\n\r\n4 ..\r\n4 ..\r\n3 ..\r\n<line break to denote sideboard>\r\n4 ..\r\n2 ..\r\n\r\nWhich is commonly used in online deck tool exports. There may be other formats to support, so feel free to add them there, if you know of any other ways commonly used tools export decks to text.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/comments/200575743","html_url":"https://github.com/Cockatrice/Cockatrice/issues/1883#issuecomment-200575743","issue_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1883","id":200575743,"user":{"login":"ctrlaltca","id":1631111,"avatar_url":"https://avatars.githubusercontent.com/u/1631111?v=3","gravatar_id":"","url":"https://api.github.com/users/ctrlaltca","html_url":"https://github.com/ctrlaltca","followers_url":"https://api.github.com/users/ctrlaltca/followers","following_url":"https://api.github.com/users/ctrlaltca/following{/other_user}","gists_url":"https://api.github.com/users/ctrlaltca/gists{/gist_id}","starred_url":"https://api.github.com/users/ctrlaltca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctrlaltca/subscriptions","organizations_url":"https://api.github.com/users/ctrlaltca/orgs","repos_url":"https://api.github.com/users/ctrlaltca/repos","events_url":"https://api.github.com/users/ctrlaltca/events{/privacy}","received_events_url":"https://api.github.com/users/ctrlaltca/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T23:01:33Z","updated_at":"2016-03-23T23:01:33Z","body":"We could pre-scan the file for empty lines, trim empty lines at begin or end of the file, and if there's one a single empty line in the middle of the card definitions, consider that empty line as the sideboard separator."}}