[Android/iOS] Support for White Space characters in Markdown
See original GitHub issuePlatform
This bug will track shared model platforms (Android/iOS/UWP).
See also #5350 (Javascript), #5351 (.NET) and #5352 (documentation)
Author or host
Host on Webex Teams
Version of SDK
v1.2.11
Details
Support for
- (honored by iOS)
-   and
-  
is missing for Android and iOS
Sample JSON is as follows:
{
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "TextBlock with 4 \"space\" characters 1"
},
{
"type": "TextBlock",
"text": "TextBlock with 4 \"&-nbsp;\" characters 1"
},
{
"type": "TextBlock",
"text": "TextBlock with 4 \"&-ensp;\" characters    1"
},
{
"type": "TextBlock",
"text": "TextBlock with 4 \"&-emsp;\" characters    1"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}
Resultant Images for the above JSON are: Android iOS
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How do I ensure that whitespace is preserved in Markdown?
To preserve spaces in a markdown document use a non-breaking space: "a space character that prevents consecutive whitespace characters from ...
Read more >Format Text with Markdown
To treat characters as ordinary text, press undo or backspace once. Italics . Use syntax *sample text* followed by space or return key....
Read more >White space issue in markdown - support
Hi Team, When I use comma or dot after the URL in markdown [text](url). [text](url), The output has space between the text and...
Read more >Untitled
Indent (Tab) Tabs and whitespace have a special meaning in Markdown. You can use trailing whitespace to create line breaks, and you can...
Read more >markdown | Dart Package
A portable Markdown library written in Dart that can parse Markdown into HTML. ... Fix table-rendering bug when table rows have trailing whitespace....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We should investigate the best way to support this scenario without necessarily relying on HTML entities (
 
)E.g., we could rely on unicode characters
\u2002
in the JSON, although this doesn’t quite work based on my limited research, so further digging will be required.https://stackoverflow.com/questions/6046263/how-to-indent-a-few-lines-in-markdown-markup
Fixed by #4000