Skip to content

Commit

Permalink
All: Fixes #1033: Handle hard break when rendering Markdown to HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent22 committed Dec 16, 2018
1 parent 982c982 commit f05929c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ReactNativeClient/lib/MdToHtml.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f05929c

Please sign in to comment.