WordPress.org

Making WordPress.org

Opened 6 months ago

Last modified 6 months ago

#5724 new defect

Slack: /here command strips out hyperlinked text

Reported by: annezazu Owned by:
Milestone: Priority: low
Component: Slack & IRC Keywords:
Cc:

Description

If you use the /here command, any hyperlinked text will be stripped of the link. However, if you simply list out the URL rather than hyperlinking text, the link remains in tact. You can see an example of this breaking here (each item originally as hyperlinked in the list):

https://wordpress.slack.com/archives/C015GUFFC00/p1619802042277900

You can see an example of the command working by listing out the URL here:

https://wordpress.slack.com/archives/C015GUFFC00/p1619131110195500

Change History (1)

#1 @dd32
6 months ago

This is unfortunately a shortcoming of Slack, I've tried with both slash commands attached to a Slack App, and slack's own slash commands app.

Slack slash commands do not provide the hyperlink data, despite the documentation suggesting it does.

For example, I would expect a linked 'Hello World' to come through to us as /here <https://example.com|Hello World>, but instead we see it as /here Hello World.
If I include formatting, such as code tags, that comes through:

/here Hello `code` World

I'm filing a bug with slack, I'll see if there's anything w're doing wrong.

Note: See TracTickets for help on using tickets.