microsoft / microsoft/BotFramework-WebChat
Emoj icon is displayed/replaced even in the middle of a word
Open
@compulim is already working on this.
Since Jan 18, 2023.
Bot Services
bug
customer-reported
- 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?
Unrelated
Which distribution are you using Web Chat from?
NPM
Which hosting environment does this issue primarily affect?
Dynamics 365 Omnichannel
Which browsers and platforms do the issue happened?
No response
Which area does this issue affect?
Send box
What is the public URL for the website?
No response
Please describe the bug
When user enters 9:00 in the sendBox, the text is converted to the emoj.

The emoj converting should happen only if:
- the ':0' is the starting of a sentence.
- the ':0" is followed by an empty space if it is in the middle of a sentence
Do you see any errors in console log?
No response
How to reproduce the issue?
- Navigate to ...
- Start a chat
- Type "9:00" in the send box

What do you expect?
The emoj converting should happen only if:
- the ':0' is the starting of a sentence.
- the ':0" is followed by an empty space if it is in the middle of a sentence
What actually happened?
the ':0' is converted to emoj without following by the space.
Do you have any screenshots or recordings to repro the issue?

Adaptive Card JSON
No response
Additional context
No response
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.
Assessment
This issue has not been assessed yet.