You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
All: Fixes #1033: Handle hard break when rendering Markdown to HTML
This commit is contained in:
@ -311,6 +311,8 @@ class MdToHtml {
|
|||||||
output.push(t.content);
|
output.push(t.content);
|
||||||
} else if (t.type === 'softbreak') {
|
} else if (t.type === 'softbreak') {
|
||||||
output.push('<br/>');
|
output.push('<br/>');
|
||||||
|
} else if (t.type === 'hardbreak') {
|
||||||
|
output.push('<br/>');
|
||||||
} else if (t.type === 'hr') {
|
} else if (t.type === 'hr') {
|
||||||
output.push('<hr/>');
|
output.push('<hr/>');
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user