-
Notifications
You must be signed in to change notification settings - Fork 102
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
emphasis mixed in text and link description breaks link parsing #96
Comments
Additional test to show expected behavior:
|
Hi @twouters, thanks for mentioning this! I took a look at this example and the example you have at Sorunome/slack-markdown#3 . Thanks for the concrete examples, they're really helpful! My initial thoughts are:
Does solving problem 2 there meet your needs? If so, I'd be happy to help you make a pull request to slack-markdown to fix it! If you need problem 1 solved, could you talk me through the situation that's generating that sort of message? |
Hi, I don't have control over the upstream message, since they are automated messages from monitoring services which we receive on Slack (those messages are then bridged to Matrix using Soru's slack-markdown as one of many other components.) I did indeed notice the missing While I'm typing this, I remember that I didn't check if the word boundary is missing for bold tags too ( |
Sorry for the slow response! I think bold tags in simple-markdown don't have the same |
The emphasis in the following example takes precedence over link detection while I think it should be the other way around?
GFM results in (as expected): text containing _emphasis start breaks when followed by link text with emphasis_ end
simple test to show unexpected behavior:
The text was updated successfully, but these errors were encountered: