{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/4494","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/4494/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/4494/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/4494/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/4494","id":316032221,"node_id":"MDU6SXNzdWUzMTYwMzIyMjE=","number":4494,"title":"Skype For Business PromptDialog.Choice screwing up the formatting","user":{"login":"rosskyl","id":9472151,"node_id":"MDQ6VXNlcjk0NzIxNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/9472151?v=4","gravatar_id":"","url":"https://api.github.com/users/rosskyl","html_url":"https://github.com/rosskyl","followers_url":"https://api.github.com/users/rosskyl/followers","following_url":"https://api.github.com/users/rosskyl/following{/other_user}","gists_url":"https://api.github.com/users/rosskyl/gists{/gist_id}","starred_url":"https://api.github.com/users/rosskyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosskyl/subscriptions","organizations_url":"https://api.github.com/users/rosskyl/orgs","repos_url":"https://api.github.com/users/rosskyl/repos","events_url":"https://api.github.com/users/rosskyl/events{/privacy}","received_events_url":"https://api.github.com/users/rosskyl/received_events","type":"User","site_admin":false},"labels":[{"id":429202671,"node_id":"MDU6TGFiZWw0MjkyMDI2NzE=","url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/.NET%20SDK","name":".NET SDK","color":"1d76db","default":false},{"id":602304410,"node_id":"MDU6TGFiZWw2MDIzMDQ0MTA=","url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/Skype%20for%20Business","name":"Skype for Business","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":{"login":"JasonSowers","id":6301037,"node_id":"MDQ6VXNlcjYzMDEwMzc=","avatar_url":"https://avatars3.githubusercontent.com/u/6301037?v=4","gravatar_id":"","url":"https://api.github.com/users/JasonSowers","html_url":"https://github.com/JasonSowers","followers_url":"https://api.github.com/users/JasonSowers/followers","following_url":"https://api.github.com/users/JasonSowers/following{/other_user}","gists_url":"https://api.github.com/users/JasonSowers/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonSowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonSowers/subscriptions","organizations_url":"https://api.github.com/users/JasonSowers/orgs","repos_url":"https://api.github.com/users/JasonSowers/repos","events_url":"https://api.github.com/users/JasonSowers/events{/privacy}","received_events_url":"https://api.github.com/users/JasonSowers/received_events","type":"User","site_admin":false},"assignees":[{"login":"JasonSowers","id":6301037,"node_id":"MDQ6VXNlcjYzMDEwMzc=","avatar_url":"https://avatars3.githubusercontent.com/u/6301037?v=4","gravatar_id":"","url":"https://api.github.com/users/JasonSowers","html_url":"https://github.com/JasonSowers","followers_url":"https://api.github.com/users/JasonSowers/followers","following_url":"https://api.github.com/users/JasonSowers/following{/other_user}","gists_url":"https://api.github.com/users/JasonSowers/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonSowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonSowers/subscriptions","organizations_url":"https://api.github.com/users/JasonSowers/orgs","repos_url":"https://api.github.com/users/JasonSowers/repos","events_url":"https://api.github.com/users/JasonSowers/events{/privacy}","received_events_url":"https://api.github.com/users/JasonSowers/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-04-19T20:39:29Z","updated_at":"2018-10-01T21:17:57Z","closed_at":"2018-10-01T21:17:57Z","author_association":"NONE","body":"## Bot Info\r\n* SDK Platform: .NET\r\n* SDK Version: 3.15.0\r\n* Active Channels: Skype For Business\r\n* Deployment Environment: Azure Bot Service\r\n\r\n## Issue Description\r\nThe formatting for a list is getting messed up when I use the PromptDialog.Choice with Skype For Business. I have a list of strings that I want to have the user choose an option from and I want to display a number in front of them since Skype For Business does not support buttons. I am manually inserting the numbers in front of each choice and using that as the description. The problem is the last line is has a bullet that is smaller than the rest of them using the format of \"(1) Option\". Also when I use the format of \"1. Option\" the formatting is completely messed up and all of the numbers change to 1. This only happens on the desktop version of Skype For Business. It shows up just fine on the Android app.\r\n\r\n## Code Example\r\n\r\n```\r\nList<string> displayLanguages = new List<string>();\r\nfor (int i = 0; i < languages.Count(); i++)\r\n        displayLanguages.Add($\"({i + 1}) {languages.ElementAt(i).Text}\");\r\nPromptDialog.Choice(context, AfterLanguageSelectAsync, languages, \"Choose your language: \", \"Invalid choice.\", 3, PromptStyle.Auto, displayLanguages);\r\n```\r\n\r\nWhere languages is an IEnumerable of a custom class that has the ToString overridden.\r\n\r\n\r\n## Expected Behavior\r\n<!-- What you expected to happen. -->\r\nAll of the text to be the same size.\r\nFor the format of \"1. Option\" to have each choice on the same line and not overwrite the numbers.\r\n\r\n## Actual Results\r\nThis is with the format of \"(1) Option\"\r\n![sfb bot formatting parentheses](https://user-images.githubusercontent.com/9472151/39016925-7ab4a16a-43e7-11e8-8446-9f3c8bf74236.PNG)\r\n\r\nThis is the format of \"1. Option\"\r\n![sfb bot formatting numbers](https://user-images.githubusercontent.com/9472151/39016957-928b744e-43e7-11e8-9e53-263be7ab6345.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/comments/426066279","html_url":"https://github.com/Microsoft/BotBuilder/issues/4494#issuecomment-426066279","issue_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/4494","id":426066279,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjA2NjI3OQ==","user":{"login":"JasonSowers","id":6301037,"node_id":"MDQ6VXNlcjYzMDEwMzc=","avatar_url":"https://avatars3.githubusercontent.com/u/6301037?v=4","gravatar_id":"","url":"https://api.github.com/users/JasonSowers","html_url":"https://github.com/JasonSowers","followers_url":"https://api.github.com/users/JasonSowers/followers","following_url":"https://api.github.com/users/JasonSowers/following{/other_user}","gists_url":"https://api.github.com/users/JasonSowers/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonSowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonSowers/subscriptions","organizations_url":"https://api.github.com/users/JasonSowers/orgs","repos_url":"https://api.github.com/users/JasonSowers/repos","events_url":"https://api.github.com/users/JasonSowers/events{/privacy}","received_events_url":"https://api.github.com/users/JasonSowers/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T21:17:57Z","updated_at":"2018-10-01T21:17:57Z","author_association":"MEMBER","body":"Thank you for opening an issue against the Bot Framework SDK v3. As part of the Bot Framework v4 release, we’ve moved all v3 work to a new repo located at https://github.com/microsoft/botbuilder-v3. We will continue to support and offer maintenance updates to v3 via this new repo.\r\n \r\nFrom now on, https://github.com/microsoft/botbuilder repo will be used as hub, with pointers to all the different SDK languages, tools and samples repos.\r\n \r\nAs part of this restructuring, we are closing all tickets in this repo.\r\n \r\nFor defects or feature requests, please create a new issue in the new Bot Framework v3 repo found here:\r\nhttps://github.com/microsoft/botbuilder-v3/issues\r\n\r\nFor Azure Bot Service Channel specific defects or feature requests (e.g. Facebook, Twilio, Teams, Slack, etc.), please create a new issue in the new Bot Framework Channel repo found here:\r\nhttps://github.com/microsoft/botframework-services/issues\r\n \r\nFor product behavior, how-to, or general understanding questions, please use Stackoverflow.\r\nhttps://stackoverflow.com/search?q=bot+framework\r\n\r\n\r\nThank you.\r\n \r\nThe Bot Framework Team\r\n"}}
{"actor":{"display_login":"JasonSowers"}}