diff options
Diffstat (limited to 'lib/document-to-html.js')
| -rw-r--r-- | lib/document-to-html.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js index 2591e4f..a51afd0 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -350,7 +350,11 @@ function DocumentConversion(options, comments) { "tableRow": convertTableRow, "tableCell": convertTableCell, "break": function(element, messages) { - return [Html.freshElement("br")]; + if (element.breakType === "line") { + return [Html.freshElement("br")]; + } else { + return []; + } } }; return { |
