microsoft / microsoft/BotFramework-WebChat
[Direct Line Speech] Stopped working after some Markdown syntax
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 1.6k
- Avg merge
- 22h 58m
- Merged PRs (30d)
- 2
Description
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?
- Navigate to Web Chat Loader
- Connect to the Direct Line Speech MockBot
- Send
echo "<https://example.com>"to the bot - 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?
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Web Chat Loader and connect to the Direct Line Speech MockBot, then reproduce the issue with echo "https://example.com" followed by "Hello, World!". Compare the behavior with the expected link response and subsequent echo; done means the bot continues responding after the Markdown link.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100