fix #1762: line breaks in Markdown notes

pull/1777/head
antelle 2021-03-24 17:02:05 +01:00
parent 954f2c235b
commit 808b4a687d
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
2 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,7 @@ const MdToHtml = {
return '';
}
const renderer = new MdRenderer();
const html = marked(md, { renderer });
const html = marked(md, { renderer, breaks: true });
const htmlWithoutLineBreaks = html.replace(whiteSpaceRegex, '');
const mdWithoutLineBreaks = md.replace(whiteSpaceRegex, '');
if (htmlWithoutLineBreaks === mdWithoutLineBreaks) {

View File

@ -6,7 +6,8 @@ Release notes
`+` opening XML and CSV files using the Open button
`-` ykman v4 support
`-` setting expiry date in the past
`-` legacy auto-type removed
`-` legacy auto-type removed
`-` fix #1762: line breaks in Markdown notes
##### v1.17.4 (2021-03-18)
`-` fix #1740: Windows updater issues