summaryrefslogtreecommitdiff
path: root/src/html
diff options
context:
space:
mode:
Diffstat (limited to 'src/html')
-rw-r--r--src/html/html.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html/html.c b/src/html/html.c
index 4fa79b1..889941c 100644
--- a/src/html/html.c
+++ b/src/html/html.c
@@ -181,10 +181,12 @@ static void node_to_html(strbuf *html, cmark_node *node)
}
case NODE_HTML:
+ cr(html);
strbuf_put(html, cur->string_content.ptr, cur->string_content.size);
break;
case NODE_HRULE:
+ cr(html);
strbuf_puts(html, "<hr />\n");
break;