summaryrefslogtreecommitdiffstats
path: root/bridge/slack/handlers.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-10-27 01:10:59 +0200
committerGitHub <noreply@github.com>2019-10-27 01:10:59 +0200
commit45bf1fd63a62b46fc80fe5143e667f6779705a0d (patch)
treea01115b94ba619c8c8b19758386b05e4ef2683de /bridge/slack/handlers.go
parentff0de85817429eaa6ac8cbb80dd19d936331b12d (diff)
downloadmatterbridge-msglm-45bf1fd63a62b46fc80fe5143e667f6779705a0d.tar.gz
matterbridge-msglm-45bf1fd63a62b46fc80fe5143e667f6779705a0d.tar.bz2
matterbridge-msglm-45bf1fd63a62b46fc80fe5143e667f6779705a0d.zip
Convert slack bold/strike to correct markdown (slack). Fixes #918 (#930)
Diffstat (limited to 'bridge/slack/handlers.go')
-rw-r--r--bridge/slack/handlers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/slack/handlers.go b/bridge/slack/handlers.go
index 44a57db0..829cfb6a 100644
--- a/bridge/slack/handlers.go
+++ b/bridge/slack/handlers.go
@@ -30,6 +30,7 @@ func (b *Bslack) handleSlack() {
message.Text = b.replaceVariable(message.Text)
message.Text = b.replaceChannel(message.Text)
message.Text = b.replaceURL(message.Text)
+ message.Text = b.replaceb0rkedMarkDown(message.Text)
message.Text = html.UnescapeString(message.Text)
// Add the avatar