fix: generate angle brackets in release notes (#31757)
This commit is contained in:
parent
dfb3b24de1
commit
6bc5fa3758
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,8 @@ const getNoteFromClerk = async (ghKey) => {
|
|||
.slice(PERSIST_LEAD.length).trim() // remove PERSIST_LEAD
|
||||
.split(/\r?\n/) // split into lines
|
||||
.map(line => line.trim())
|
||||
.map(line => line.replace('<', '<'))
|
||||
.map(line => line.replace('>', '>'))
|
||||
.filter(line => line.startsWith(QUOTE_LEAD)) // notes are quoted
|
||||
.map(line => line.slice(QUOTE_LEAD.length)); // unquote the lines
|
||||
|
||||
|
|
Loading…
Reference in a new issue