Opened 4 years ago
Last modified 4 years ago
#5724 new defect (bug)
Slack: /here command strips out hyperlinked text
Reported by: | annezazu | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Component: | Communication (Matrix, 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
Note: See
TracTickets for help on using
tickets.
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:
I'm filing a bug with slack, I'll see if there's anything w're doing wrong.