-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[StatusChatInput] If a username that contains an ”_” is entered into the message input field, all text after it becomes italic #9698
Comments
Duplicate of #8475, but this new ticket contains more info, so I'll close the old one instead. |
@John-44 @imagiMary, these are already known issues, and more or less already reported (eg #7091). We have got design specs for how formatting should behave and will be implemented here. However this requires a bigger effort and testing and as it's going to most probably break things we decided to leave it for after MVP. That said, do you think it's such a high prio so that it's refactored/fixed in 0.12? (same applies for #9700) |
We could bump it to 0.13 perhaps? I'll bump to 0.13 for now and then we can discuss on a call later this week |
@alexandraB99 yes good point. I've just moved #9700 to 0.13 |
This is more of a refactor task with a minor impact; but quite a big one effort-wise. Pls reconsider moving this to "later" |
closing as this will be part of a wider rethink of this feature |
Version: 0.9
OS: Windows 10
If a username that contains an underscore character (”_”) is entered into the message input field, all text after it becomes italic. This is because underscore is a markdown character.
e.g. @Pepper_Talent renders the text succeeding the”_” in the message input field as italic, including the rest of the username, and this is incorrect.
Steps to reproduce:
Navigate to any messaging or community channel screen that contains a message input field.
Type a message in the message input field @ mentioning a user with a username that contains an underscore’ e.g. ‘@Mary_’ or ‘@Pepper_Talent’.
What currently incorrectly happens:
Note: The markdown character is not rendered in the message body area once the message is posted, this is correct.
Example screenshots:
What is supposed to happen:
Other information
This is specific to underscores as the only other markdown character that is allowed in usernames (a hyphen) is correctly ignored when a username that contains a hyphen is entered.
The text was updated successfully, but these errors were encountered: