1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

All: Fixes #1033: Handle hard break when rendering Markdown to HTML

This commit is contained in:
Laurent Cozic 2018-12-16 11:41:15 +01:00
parent 982c9828da
commit f05929cd17

View File

@ -311,6 +311,8 @@ class MdToHtml {
output.push(t.content);
} else if (t.type === 'softbreak') {
output.push('<br/>');
} else if (t.type === 'hardbreak') {
output.push('<br/>');
} else if (t.type === 'hr') {
output.push('<hr/>');
} else {