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.

[Android] Text with markdown is broken in most of the components

See original GitHub issue

Platform

  • Android

Author or host

Teams mobile

Version of SDK

1.2.10

Details

Sample Agenda card, Expense report card available in public documentation is broken experience.

Here is the comparison of experience with 1.2.6(SDK version) and 1.2.10(SDK version).

1.2.6 1.2.10
image image

TextBlock, FactSet with value enclosed with markdown support are completely broken.

Here is another example:

1.2.6 1.2.10
image image
image image

Attaching the Card JSON for the same:

{
    "type": "AdaptiveCard",
    "body": [
        {
            "type": "TextBlock",
            "text": "_Italic_"
        },
        {
            "type": "TextBlock",
            "text": "**Bold**"
        },
        {
            "type": "TextBlock",
            "text": "**~~Bold, strike-through text~~**"
        }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.2"
}

cc: @VikrantSingh01, @anbah34 ,@shbhadra

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
golddovecommented, Jul 23, 2020

@VikrantSingh01 we will include this fix in the v1.2.11 patch (scheduled end of month)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Text markdown has been broken on Android. There's some ...
Text markdown has been broken on Android. There's some other simple fixes I slapped in here as well. r/discordapp - Android.
Read more >
markdown/Text formatting not working in iOS
Just formatted a long post on a card, completely formatted out on the desktop and looks great. On mobile the visible markup makes...
Read more >
Markdown libraries don't support a single \n in android
A single newline has no meaning in Markdown. For example, the first sentence that I typed into this answer really looks like:
Read more >
Your Manual to Markdown, the Web's Simplest Plain-Text ...
Markdown fixes that, with simple formatting that looks the same everywhere. Here's how to use the world's most popular text formatting ...
Read more >
Basic Syntax
You can use two or more spaces (commonly referred to as “trailing whitespace”) for line breaks in nearly every Markdown application, but it's...
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