Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line Break Code (\n) Shown in Slack for GitHub Issue Descriptions with Newlines #1994

Open
ntsk opened this issue Dec 20, 2024 · 1 comment
Assignees
Labels

Comments

@ntsk
Copy link

ntsk commented Dec 20, 2024

Describe the bug
When a newline is included in the description of a GitHub Issue, the line break code (\n) is displayed in Slack.
I am unsure whether this issue is caused by a change in GitHub or the Slack integration, but I recall that this behavior did not occur previously.

To Reproduce
Steps to reproduce the behavior:

  1. Subscribe to issue creation notifications.
  2. Create a new GitHub Issue with a newline in its description.
  3. Check the output in Slack.

Expected behavior
Slack should display the description with proper line breaks instead of showing the line break code (\n).

Screenshots

スクリーンショット 2024-12-20 13 39 12

スクリーンショット 2024-12-20 13 38 57

@ntsk ntsk added the bug label Dec 20, 2024
@ntsk
Copy link
Author

ntsk commented Dec 20, 2024

For older issues, the description is displayed correctly without line break codes.
This behavior can be confirmed by adding a comment to an issue created in the past.

スクリーンショット 2024-12-20 14 16 07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants