{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/2946","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/2946/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/2946/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/2946/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/2946","id":235914713,"number":2946,"title":"[Question] How to avoid extra image space in MS Teams?","user":{"login":"meganlcooper","id":22107144,"avatar_url":"https://avatars3.githubusercontent.com/u/22107144?v=4","gravatar_id":"","url":"https://api.github.com/users/meganlcooper","html_url":"https://github.com/meganlcooper","followers_url":"https://api.github.com/users/meganlcooper/followers","following_url":"https://api.github.com/users/meganlcooper/following{/other_user}","gists_url":"https://api.github.com/users/meganlcooper/gists{/gist_id}","starred_url":"https://api.github.com/users/meganlcooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meganlcooper/subscriptions","organizations_url":"https://api.github.com/users/meganlcooper/orgs","repos_url":"https://api.github.com/users/meganlcooper/repos","events_url":"https://api.github.com/users/meganlcooper/events{/privacy}","received_events_url":"https://api.github.com/users/meganlcooper/received_events","type":"User","site_admin":false},"labels":[{"id":429202671,"url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/.NET%20SDK","name":".NET SDK","color":"1d76db","default":false},{"id":608321757,"url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/message%20formatting","name":"message formatting","color":"fbca04","default":false},{"id":487732758,"url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/MS%20Teams","name":"MS Teams","color":"5319e7","default":false},{"id":335881076,"url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/question","name":"question","color":"b60205","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-14T15:14:42Z","updated_at":"2017-10-09T23:44:52Z","closed_at":"2017-10-09T23:44:52Z","author_association":"NONE","body":"<!-- Do you have a question? Please ask it on http://stackoverflow.com/questions/tagged/botframework -->\r\n\r\n## System Information (Required)\r\n* SDK Language: <.NET/C#>\r\n\r\n## Issue Description\r\nI am using markdown to display a table of information in a note. The code works fine all except for the image I am displaying in my table. Is there a trick/easy way I can avoid this extra space in the markdown table. Below shows my code and what my bot is currently producing in teams. (It may be important to mention that the image is currently stored in left hand side of the first row of the second table)\r\n\r\n**EDIT** I have tried removing the image from the table and the issue is still present. For some reason inserting an image gives an extra space of about 256 x 256 pixels for me. I am mostly using images 56 x 56 or 128 x 128. \r\n\r\nThanks for any help.\r\n\r\n## Code Example\r\n```\r\nstring row1 = \"\", row2 = \"\", row3 = \"\", row4 = \"\", row5 = \"\", row6 = \"\", tableone = \"\", \r\n          tabletwo = \"\", Comment = \"\";\r\n// This is the first table and it displays perfectly fine in MS Teams\r\n\r\nStringBuilder sb = new StringBuilder();\r\nsb.AppendLine(\">| Table One: \"+ tableone+ \"||\");\r\nsb.AppendLine(\"|:----|----:|\");\r\nsb.AppendLine(\"| Row 1:|\" + row1 + \"|\");\r\nsb.AppendLine(\"| Row 2:|\" + row2 + \"|\");\r\nsb.AppendLine(\"| Row 3:|\" + row3 + \"|\");\r\nsb.AppendLine(\"| Row 4:|\" + row4 + \"|\");\r\nsb.AppendLine(\"| Row 5:|\" + row5 + \"|\");\r\nsb.AppendLine(\"| Row 6:|\" + row6 + \"| \\n\\n\");\r\n\r\n// This is the second table that has the extra space where the image is\r\n// The image I'm using is only 56 x 56 pixels\r\n\r\n       sb.AppendLine(\">| Table Two: \" + tabletwo + \"|\");\r\n       sb.AppendLine(\"|:---|\");\r\n       sb.AppendLine(\"| *\" + Comment + \"* |\");\r\n       sb.AppendLine(\"|![img](**MY_IMAGE_LINK_GOES_HERE**) |\");\r\n\r\n```\r\n\r\n## Expected Behavior\r\nA table that cantins the image in a column with no extra space:\r\n![table_extra_space](https://user-images.githubusercontent.com/22107144/27139948-ed2bb158-50e9-11e7-8b0c-cfc83a41e470.PNG)\r\n\r\n\r\n## Actual Results\r\nA table that has a ton of extra space where the image is located\r\n\r\n![table_extra_space](https://user-images.githubusercontent.com/22107144/27139827-a14505b4-50e9-11e7-9f9b-6d617bd0f90e.PNG)\r\n\r\n\r\nHere is what happens when I include the image before the table or any other text:\r\n\r\n![capture](https://user-images.githubusercontent.com/22107144/27142569-0d9ca486-50f1-11e7-8bc4-0038c49d3736.PNG)\r\n"}}
{"actor":{"display_login":"nwhitmont"}}