Skip to content
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

Issue with markdown escaping in PR unfurling #2002

Open
giodamelio opened this issue Jan 23, 2025 · 0 comments
Open

Issue with markdown escaping in PR unfurling #2002

giodamelio opened this issue Jan 23, 2025 · 0 comments
Assignees
Labels

Comments

@giodamelio
Copy link

Describe the bug
There is some issue with the markdown that is causing the unfurl to be slightly incorrect. Note the differences in the locations of the > character in the unfurl screenshot.

To Reproduce
Steps to reproduce the behavior:

  1. Make a PR with a link inside the body inside an inline code block that contains a placeholder like this <placeholder> followed by more URL parts.
    `https://google.com/<foo>/bar`
    
  2. Paste link to that PR into Slack and look at the unfurl. It ends up looking like this (highlighted and monospace)
    https://google.com/<foo/bar>
    

Expected behavior
The text should be the same, but it moves the > over to the end of the inline code section for me. Now that I wrote this all out I relize this could very well be an issue on the Slack side, not your integration side.

Screenshots
Cannot provide screenshots since it is a private work repo/Slack instance.

Desktop (please complete the following information):

  • OS: MacOS
  • Sequoia 15.2
  • Slack Version: Version 4.41.105 96b0fc576c9f96e83c7a36ef611355f4bbae412c@1736811460 (Production)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants