-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Links with markdown formatting in (eg underscores) are interpreted as markdown #4674
Links with markdown formatting in (eg underscores) are interpreted as markdown #4674
Comments
Plan of action is to RegExp URLs prior to markdown parsing to make them |
So that MD characters in them do not result in formatting being applied. Fixes element-hq/element-web#3428 Fixes element-hq/element-web#4674
#1270 introduced #4809 and has been reverted; unfortunately this means that this is open again. #4809 has much discussion over possible better fixes, but the TL;DR is:
|
twinned with #3428 |
At the risk of piling on, this is especially annoying if you commonly link to python code -- where |
I'm using latest develop ( (this is when pasting So I think this issue needs reopening. |
* Fix markdown formatting for bold Fix element-hq/element-web#4674 * I hate you too eslint
@babolivier thanks for catching, fixed in matrix-org/matrix-react-sdk#7257 😄 |
Can confirm it works great now, thanks a lot @Palid! 😁 |
Should this work in
now? Because, for me it still doesn't: My test URL is https://www.bora.com/fileadmin/_processed_/5/e/csm_Headerbild_BORA_Classic_2_L_e8dfdf2889.jpg.webp It get's rendered as https://www.bora.com/fileadmin/processed/5/e/csm_Headerbild_BORA_Classic_2_L_e8dfdf2889.jpg.webp instead. |
This fix is on develop, not yet in a release. Be patient. |
eg. type http://domain.xyz/foo/bar-_stuff-like-this_-in-it.jpg in markdown mode, it ends up as a link with italics instead of the underscores
The text was updated successfully, but these errors were encountered: