Skip to content

Markdown text is not rendered in ReactWebChat #3633

@vojtechkacmarik

Description

@vojtechkacmarik

Screenshots

screen01
screen02
screen03

Version

Client
"botframework-directlinespeech:version" content="4.11.0"
"botframework-webchat:bundle:variant" content="full"
"botframework-webchat:bundle:version" content="4.11.0"
"botframework-webchat:core:version" content="4.11.0"
"botframework-webchat:ui:version" content="4.11.0"

Bot
"botbuilder": "~4.10.3"
"botbuilder-ai": "^4.10.3"

Describe the bug

I tried to add a Markdown formatted string into my Bot solution. From Bot I send simple text "See you later!" using
await context.sendActivity(See you later!)
Emulator works fine and formatted text is rendered correctly.
But my ReactWebChat client doesn't work. No formatted text is displayed. You can see received message text in console (screenshot).
No additional code related to markdown formatting is used currently (no 'textFormat' at the Bot's side, no Markdown renderer at WebChat side)

Steps to reproduce

  1. Open the Bot's client
  2. Type something to get formatted message from Bot
  3. See not formatted text in UI, and correct text value in console

Expected behavior

  1. Open the Bot's client
  2. Type something to get formatted message from Bot
  3. See formatted text in UI (like in Emulator), and correct text value in console

Additional context

[Bug]

Metadata

Metadata

Assignees

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.customer-replied-toRequired for internal reporting. Do not delete.customer-reportedRequired for internal Azure reporting. Do not delete.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions