I searched high and low but couldn't find a solution for this... I'm designing a basic slack message with link buttons and found that the button will not show in the message when the host contains an 'underscore'...
You can try below example here: https://api.slack.com/docs/messages/builder
{
"text": "some text here...",
"attachments": [
{
"title": "TITLE",
"actions": [
{
"type": "button",
"text": "Link button",
"url": "https://www.some-site.com"
}
]
}
]
}
When you change www.some-site.com
to www.some_site.com
, the button disappears ...
Any suggestions on how to format the url so that the button shows up? According to the documentation, only the &
, <
and >
characters need to be escaped, correct? I also tried encoding the URL, that didn't help either ... help?