diff --git a/apprise/plugins/slack.py b/apprise/plugins/slack.py index 6070183c..ed029a83 100644 --- a/apprise/plugins/slack.py +++ b/apprise/plugins/slack.py @@ -617,14 +617,14 @@ class NotifySlack(NotifyBase): # Support , entries for match in self._re_url_support.findall(body): # Swap back any ampersands previously updaated - url = match[1].replace('&', '&') + url_ = match[1].replace('&', '&') desc = match[2].strip() # Update our string body = re.sub( re.escape(match[0]), - '<{url}|{desc}>'.format(url=url, desc=desc) - if desc else '<{url}>'.format(url=url), + '<{url}|{desc}>'.format(url=url_, desc=desc) + if desc else '<{url}>'.format(url=url_), body, re.IGNORECASE)