#327  PublishPullRequestMarkdownReportStep doesn't preserve line breaks
Closed
Shamil opened 3 years ago

I've applied PublishPullRequestMarkdownReportStep to a terraform plan job that I've got so that it's clear in the pull request what changes are being made. However, the report preview doesn't preserve line endings, so the terraform plan output looks messy.

Shamil commented 3 years ago

Actually, this is likely a problem with the import to markdown, since markdown requires HTML br to create line breaks. Maybe an intermediary formatter is needed? Looks like it's actually a bash issue...

Robin Shen changed state to 'Closed' 3 years ago
Previous Value Current Value
Open
Closed
Robin Shen commented 3 years ago

Either use <br> or insert blank lines in markdown to break lines in markdown. So I am closing as it is not a OneDev bug.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Affected Versions
Not Found
Issue Votes (0)
Watchers (3)
Reference
onedev/server#327
Please wait...
Page is in error, reload to recover