Ending backslash in displayed user name breaks mention badge.
See original GitHub issueDescription
Ending backslash in displayed user name breaks mention badge styling.
Steps to reproduce
- Change the displayed user-name to something that ends with the backslash, e.g.
user\
- Mention such user
- Get
[user](https://matrix.to/#/@user:matrix.org):
displayed, instead of a styled badge
Version information
-
Platform: Web, Android Checked in Firefox and Chrome.
-
Version: Web: 0.12.1 Android: 0.7.00
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:5 (2 by maintainers)
Top Results From Across the Web
javascript - Return string without trailing slash - Stack Overflow
I'd use a regular expression: function someFunction(site) { // if site has an end slash (like: www.example.com/), // then remove it and return...
Read more >Why are there backslash `\` line breaks on this apt install ...
The backslash is used by bash to indicate a line continuation and is commonly used in bash scripts. However, the backslash is actually...
Read more >Should You Have a Trailing Slash at the End of URLs? - Ahrefs
A trailing slash is a forward slash (“/”) placed at the end of a URL such as domain.com/ or domain.com/page/. But should you...
Read more >When should I use a trailing slash on a directory? [duplicate]
Most commands I use in linux behave exactly the same whether I include the trailing slash / character on the end of a...
Read more >bash - Substitute Backslash for Forward slash in last command
a forward slash is also the delimiter of your substitute command, ... shell breaks it into words, you may be tempted to start...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have the same issue with someone that has a backtick in his username. The two backticks in the pill (once in the link, once in the text) are interpreted as an inline code block.
Tested on develop and on stable.
Definitely still an issue for backticks in Nicks. see #5135 for another example.