question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Skype for Business] Markdown and Line Break formatting inconsistencies (macOS vs Windows)

See original GitHub issue

SDK Platform: python SDK Version: BotBuilder 3.11.0 Active Channels: Skype for Business Deployment Environment: ngrok

Issue Description

SFB Markdown for Mac client/ iOS vs PC/Android is inconsistent. We have taken Bot Framework’s recommendation to remove html and use only Markdown.

• We have accepted that Markdown bold does not render in either PC nor Mac and have not seen a way to do it without using html (which will completely block output on Mac clients) • Bold on PC renders it as italics • Italics on PC renders as italics • Both of the above are ignored on Mac/iOS clients and just give me text no formatting.

Regardless of Markdown formatting, the most important thing we can do with mostly text based formatting, are LINE BREAKS.

Please advise on how to properly render LINE BREAKS across all channels? We have been instructed to use \n\n but this does not work on SFB standalone clients for PC, MAC, iOS, Android

• On Mac, does not even compute (see screenshot) • On PC, does not compute (see screenshot)

We’ve tried several methods including unicode \u00A0\u00A0\n and ultimately we came to use the following hack: \n\n\u200C<br/> for a single line break.

To make another paragraph separated by a break we have to use this: \n\n\u200C<br/>\n\nu200C<br/>

This is really bothersome, as we have also seen older instances of SFB on PC have even larger breaks perhaps respecting the original \n\n. See attached image

Code Example

RAW text output that gets sent to json when using the recommend \n\n markdown method:

This is normal text followed by two slash n line breaks.

This should come after two line breaks.

This markdown text should be **BOLD** and this should be __ITALICS__







→ **This title is wrapped by double asteriks**





1 - Button 1



2 - Button 2



3 - Button 3



**This is a footer wrapped by two asteriks, should be Markdown bold.**



Expected Behavior

I expect to consistently be able to create new lines at will across all platforms, PC, Mac, Android, iOS, Azure testbed

Actual Results

See screenshot. sfb_markdown_linebreaks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ganesh1190commented, Jan 18, 2018

two spaces followed by \n again space followed by \n works on all platforms for skype for business

0reactions
JasonSowerscommented, Oct 1, 2018

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.

From 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.

As part of this restructuring, we are closing all tickets in this repo.

For defects or feature requests, please create a new issue in the new Bot Framework v3 repo found here: https://github.com/microsoft/botbuilder-v3/issues

For 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: https://github.com/microsoft/botframework-services/issues

For product behavior, how-to, or general understanding questions, please use Stackoverflow. https://stackoverflow.com/search?q=bot+framework

Thank you.

The Bot Framework Team

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Skype for Business] Markdown and Line Break formatting ...
Issue Description. SFB Markdown for Mac client/ iOS vs PC/Android is inconsistent. We have taken Bot Framework's recommendation to remove html ...
Read more >
Skype Conversations Window not formatting Correctly
I'm having an issue with Skype for business, in particular the Conversations tab. When a previous conversation is selected, the new window ......
Read more >
Markdown Guide: Basics, Tips and Tricks on how to use ... - iA
Markdown Guide. Our apps use Markdown formatting. This lets you apply basic formatting by adding a few punctuation characters. You can also use...
Read more >
13 Best Text Editors to Speed up Your Workflow - Kinsta
Check out our favorite text editors, many of which allow you to do a lot than simply write code, and find the best...
Read more >
Documentation for Confluence 7.4
You can export all or part of a Confluence space to various formats, ... errors that indicate the page is too large to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found