mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
All: Fixes #1033: Handle hard break when rendering Markdown to HTML
This commit is contained in:
parent
982c9828da
commit
f05929cd17
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user