Problem/Motivation
A message with a single link (or no link at all) is correctly processed and sent. However, if a message contains multiple links, it strips out all the links in the message. Only the text outside the <a> tags is sent to Slack.
This is because of incorrect placement of the replacement loop for strings in processMessage.
Proposed resolution
I think we can generally improve the overall handling of links as there might be other issues in the future (e.g., we can't send text like link-1 along with a link in the message). For now, I am thinking we fix the bug here in short-term as it completely breaks the module.
Comments
Comment #2
hussainwebThis patch fixes the problem for me.
Comment #3
adci_contributor commentedHi, hussainweb!
Thanks for your patch. We added it to the dev-branch.
Best regards
Comment #6
adci_contributor commented