sorenlouv / backport

A simple CLI tool that automates the process of backporting commits on a GitHub repo
https://github.com/sqren/backport/blob/main/docs/config-file-options.md
Apache License 2.0
247 stars 60 forks source link

Escape pipe char of commit msg in markdown table #515

Open kertal opened 1 week ago

kertal commented 1 week ago

When a commit message contains a | character, this breaks the "All backports failed" comment in GitHub, due to the | character is part of the table markdown. With this PR | is escaped with \| to ensure the commit message and link are displayed correctly

resolves #512

sorenlouv commented 5 days ago

lgtm. Any thoughts on the codeql warning?

kertal commented 5 days ago

@sorenlouv didn't have time, but will have a look, and then flag it as ready for review 👍