Skip to content

Markdown links with only numbers and special characters in link tag do not render #3000

@shbhadra

Description

@shbhadra

Platform

  • Android
  • iOS

Author or host

  • Host

Version of SDK

  • Android : 1.1.1
  • iOS : 1.0.3

Issue

Markdown links that have a combination of numbers and special characters only do not get rendered. Consider the following JSO

{

  "contentType": "application/vnd.microsoft.card.adaptive",

  "type": "AdaptiveCard",

  "body": [

    {

      "size": "medium",

      "text": "Build [20190523.2](https:www.google.com) failed",

      "weight": "bolder",

      "type": "TextBlock",

      "wrap": true,

      "isSubtle": false,

      "spacing": "medium",

      "color": "default",

      "horizontalAlignment": "left",

      "separator": true

    }

  ],

  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",

  "version": "1.0"

}  

The link inside the "text" field of the TextBlock is not rendered. However if we change the link tag to remove the special character or add an alphabet, the link is rendered fine. Thus
"text": "Build [201905232](https:www.google.com) failed",
or
"text": "Build [Some text 20190523.2](https:www.google.com) failed",
are rendered fine.
The same problem is also there with links in factSet and column set.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions