microsoft/botbuilder-js

QnAMakerDialog cannot render rich text in Teams channel

anishprasad01 opened this issue · 0 comments

The following text is copied from an Internal Ticket:

The problem happens on the Azure Cognitive Service - Custom Question Answering exported Bot application.

[PROBLEM DESCRIPTION]
This is a UI rendering issue only happens on Teams channel.
I notice the CQA generated Bot application is including rich text (based on Markdown format), it can be rendered in Web Chat correctly.

  1. In a Web Chat bot, markdown formatting is rendered correctly.

  2. In a Teams chat bot, the formatting is not rendered correctly.

I digest into the Bot application generated by CQA, seems it's based on the BotBuilder samples - QnAMaker bot. I use Nodejs SDK but .NET SDK shows the same problem.

I tried to update all BotBuilder dependencies to latest 4.19.2 but still no improvements.
If this is a mis-usage of the QnAMakerDialog class, which class should be used to show the same layout as Web Chat?