Skip to content

Markdown fomatting breaks when splitting comments #196

@dangershin

Description

@dangershin
  • I have searched through the current issues and did not find any that were related.

Describe the bug
When creating a long issue body using issue-body-file-path, the comment is broken up into multiple comments. In doing so, it breaks the markdown formatting for blocks that use opening and closing tags such as <details> or code (```)

To Reproduce
Steps to reproduce the behavior:

  1. Create a long code block (```) and/or <details> block in a markdown file with greater than 65,536 characters.
  2. Use issue-body-file-path to include this file in the issue body.
  3. The formatting is broken when the comment is split up.

Expected behavior
The comment should be split up and properly apply any continuing formatting in all comments. If a <details> block or a code (```) block is included, for example, it should start the new comment with this formatting.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting feedbackA change has been made since the issue was raised, and feedback is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions