-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
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