aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-11-28 17:48:31 +0000
committerMichael Williamson <mike@zwobble.org>2016-11-28 17:48:31 +0000
commit611e0c9af7c1948ad46c5471a426ec751e73a1ea (patch)
tree28954bd7f66bd306345f36eebca20df1bd1b07ee /lib/document-to-html.js
parent5428d4daeebd8d1fa8a67b20e2f8a238d3b0abbf (diff)
Call freshElement to create self-closing elements
Diffstat (limited to 'lib/document-to-html.js')
-rw-r--r--lib/document-to-html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js
index c8a9900..d223d82 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -350,7 +350,7 @@ function DocumentConversion(options, comments) {
"tableRow": convertTableRow,
"tableCell": convertTableCell,
"lineBreak": function(element, messages) {
- return [Html.selfClosingElement("br")];
+ return [Html.freshElement("br")];
}
};
return {