BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

[Direct Line Speech] Stopped working after some Markdown syntax

Open compulim opened this issue 1 year ago • 0 comments

Is it an issue related to Adaptive Cards?

No

Is this an accessibility issue?

No

What version of Web Chat are you using?

Latest production

Which distribution are you using Web Chat from?

Bundle (webchat.js)

Which hosting environment does this issue primarily affect?

Web apps

Which browsers and platforms do the issue happened?

Others or unrelated

Which area does this issue affect?

Protocol or service

Which theme pack does this issue affect?

I did not test it on other theme packs

What is the public URL for the website?

No response

Please describe the bug

When sending some Markdown syntax, the bot stopped responding.

This is the Markdown we tested and not working: <https://example.com>.

Do you see any errors in console log?

No response

How to reproduce the issue?

  1. Navigate to Web Chat Loader
  2. Connect to the Direct Line Speech MockBot
  3. Send echo "<https://example.com>" to the bot
  4. Send Hello, World! to the bot

What do you expect?

The bot should respond with a link, followed by echoing back "Hello, World!"

What actually happened?

The bot stopped responding after the link.

Do you have any screenshots or recordings to repro the issue?

image

Adaptive Card JSON

No response

Additional context

It seems Direct Line Speech services has issues handling some syntax of Markdown.

The Markdown we included is supported by CommonMark.

image

compulim avatar May 06 '24 19:05 compulim