Open chergott opened 6 days ago
No
Latest production
Bundle (webchat.js)
Web apps
Browser: Edge (latest), Browser: Chrome (latest), Browser: Firefox (latest), Browser: Safari (latest)
Chat history
I did not test it on other theme packs
https://copilotstudio.test.microsoft.com/
When Copilot's primary language is set to Japanese and user receives a message displaying an email address, the email is not correctly parsed
For example... if the markdown text to be parsed is the following...
小堺えみ子の部署はITマネジメント部、会社名はMicrosoft、住所は静岡県、メールアドレスはemikok.it@pqmtprodc1.onmicrosoft.comです。 [1] [1]: cite:1 "Citation-1"
the email is parsed as メールアドレスはemikok.it when it should be parsed as emikok.it@pqmtprodc1.onmicrosoft.com
メールアドレスはemikok.it
emikok.it@pqmtprodc1.onmicrosoft.com
I don't believe this is an issue of WebChat but rather an issue with the dependency used to parse markdown text, Markdown-It
The issue is reproducible by copying the first code block into https://markdown-it.github.io/ or https://markdown-it.github.io/linkify-it/
More-so, I believe this is a language parsing issue with Markdown-It's Linkify It which doesn't parse the email correctly
For full language support, I suggest creating a custom "linkify" function or creating a bug for Linkify It
No response
Repro steps are listed in https://msazure.visualstudio.com/CCI/_workitems/edit/28531909
Email address to be parsed as an email
Part of the email was parsed as a link
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?
Browser: Edge (latest), Browser: Chrome (latest), Browser: Firefox (latest), Browser: Safari (latest)
Which area does this issue affect?
Chat history
Which theme pack does this issue affect?
I did not test it on other theme packs
What is the public URL for the website?
https://copilotstudio.test.microsoft.com/
Please describe the bug
When Copilot's primary language is set to Japanese and user receives a message displaying an email address, the email is not correctly parsed
For example... if the markdown text to be parsed is the following...
the email is parsed as
メールアドレスはemikok.it
when it should be parsed asemikok.it@pqmtprodc1.onmicrosoft.com
I don't believe this is an issue of WebChat but rather an issue with the dependency used to parse markdown text, Markdown-It
The issue is reproducible by copying the first code block into https://markdown-it.github.io/ or https://markdown-it.github.io/linkify-it/
More-so, I believe this is a language parsing issue with Markdown-It's Linkify It which doesn't parse the email correctly
For full language support, I suggest creating a custom "linkify" function or creating a bug for Linkify It
Do you see any errors in console log?
No response
How to reproduce the issue?
Repro steps are listed in https://msazure.visualstudio.com/CCI/_workitems/edit/28531909
What do you expect?
Email address to be parsed as an email
What actually happened?
Part of the email was parsed as a link
Do you have any screenshots or recordings to repro the issue?
Adaptive Card JSON
No response
Additional context
No response