Suffix of words (plus next 5 chars) mistakenly being converted to emojis #22401
Labels
A-Composer
A-Emoji
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
This is an issue reported by @tezcatlipoca:matrix.org:
THIS AFFECTS BOTH WEB AND DESKTOP VERSIONS
With "Automatically replace plain text Emoji" activated, try to write any word with a "xo" suffix, followed by at least 6 more characters. An example in Portuguese:
"embaixo da casa"
It should just stay as it is while I'm typing (i.e. "embaixo da casa"), but instead Element converts it automatically to "embai😵asa", not only converting the mapped string (in the example, "xo") - which it shouldn't be doing anyway -, but also "eating" the next 5 characters in the process.
This bug can be reproduced with any other mapped plaintext->emoji strings, like "xD" or "XD" for exemple. So if you write "WordXD whatever", the 6th character will trigger the bug. "xo" seems to be the more critical AFAIK, for there are words that are really common in my native language (Portuguese) which are directly affected by this bug.
In short, the suffixes of words should never be interpreted as candidates for conversion to emojis.
The text was updated successfully, but these errors were encountered: