-
Notifications
You must be signed in to change notification settings - Fork 394
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 ampersand do not work in Slack iOS app #2103
Comments
Hi @mdesousa, we appreciate your time and effort in reporting this issue and apologize for the inconvenience you've experienced. This is indeed an issue on Slack's iOS app end and we're unable to provide a concrete timeline for its resolution. In the meantime, please consider the following workaround to deal with it: const client = new WebClient(process.env.SLACK_BOT_TOKEN, { logLevel: "debug" });
(async () => {
const repsonse = await client.chat.postMessage({
channel: "<channel id>",
text: "Click this: <https://www.google.com/search?hl=en&q=chocolate+chip+cookies|Search Google>",
blocks: [
{
type: "rich_text",
elements: [
{
type: "rich_text_section",
elements: [
{ type: "text", text: "Click this: " },
{
type: "link",
url: "https://www.google.com/search?hl=en&q=chocolate+chip+cookies",
text: "Search Google",
},
],
},
],
},
],
});
console.log(repsonse);
})(); I understand this could be frustrating but I hope this was helpful to you for the time being. |
thanks @seratch. is there a repo for the iOS app where I can report this issue directly to them.
|
Actually, was able to write a bit of code to create blocks from mrkdwn with links... hope it helps others. The only issue is that it loses other mrkdwn formatting that aren't links...
|
sorry @mdesousa no such repo exists but I will raise this internally |
Interestingly on my iPhone, the unfurled preview links correctly, but the actual linked markdown text is not linked. |
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized. |
@slack/bolt
version3.18.0
Node.js runtime version
v18.19.1
Steps to reproduce:
&
Expected result:
The link should work as expected
Actual result:
The link does not work
The text was updated successfully, but these errors were encountered: