Visual improvements to technical changelog

This commit is contained in:
Misode
2021-10-31 20:45:22 +01:00
parent 765f96372f
commit 582d5f4b1e
3 changed files with 24 additions and 5 deletions

View File

@@ -41,7 +41,9 @@ function parseChangelog(text: string) {
const i = entry.indexOf('|')
return {
tags: entry.substring(0, i).trim().split(' '),
content: entry.slice(i + 1).trim(),
content: entry.slice(i + 1).trim()
.replaceAll('->', '→')
.replaceAll('\n...\n', '\n\n'),
}
})
}