question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiline messages not working

See original GitHub issue

As per the slack message formatting guide, we can insert a newline by including the characters \n. But this seems to doesn’t work in this plugin because I’m getting \n in the message.

Action - https://github.com/vineetchoudhary/AppBox-iOSAppsWirelessInstallation/blob/master/.github/main.workflow

workflow "Slack - New Issues" {
  resolves = ["Slack Notification for New Issues"]
  on = "issues"
}

action "Slack Notification for New Issues" {
  uses = "Ilshidur/action-slack@6aeb2acb39f91da283faf4c76898a723a03b2264"
  secrets = ["SLACK_WEBHOOK"]
  args = "A new issue has been added. \\nURL - {{ EVENT_PAYLOAD.issue.html_url }} \\nTitle - {{ EVENT_PAYLOAD.issue.title }} \\nBody - {{ EVENT_PAYLOAD.issue.body }}"
}

Screenshot_20190909-214921

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Ilshidurcommented, Sep 10, 2019

This just needed the m Regexp parameter, allowing multi line replacement.

Here’s the final fix : Ilshidur/action-slack@9273a03

1reaction
Ilshidurcommented, Sep 10, 2019

Hello.

You are right. Forgetting to use a RegExp was a mistake. This testifies that this code needs some unit tests 😄

I released a fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiline text not working Autocad 2021 Mac - Autodesk Forums
I have an issue where the multi-line text doesn't work, and the text isn't restricted for the space I set it. The qtext...
Read more >
flutter - Text widget multi line isn't working and giving an error
For some reason it's not working, i.e. it isn't multi-line, and it's giving the error of: RenderFlex overflowed by 9.0 pixels on the...
Read more >
Multilines of text stopped working | Power Apps Exchange
When my email goes out through PowerAutomate, it now sends everything in a single line of text. I DO see that in the...
Read more >
Media + Text Box with multi-line text not working?
I am trying to get the Media + Text block working inside a post so I can have finer control over the alignment...
Read more >
Multiline message not containing filter - Infrastructure
Everything works fine, my messages become multiline. But when I applied not containing filter like -AAAA, it is not working.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found