From ae90bbe34fc24ffa5d8e2138bdfe46ddac2006be Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 19 Nov 2014 14:55:24 -0800 Subject: cmark: Add space before '/' in img tag. --- src/html/html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html/html.c b/src/html/html.c index 8110f87..0c6c399 100644 --- a/src/html/html.c +++ b/src/html/html.c @@ -210,7 +210,7 @@ static void inlines_to_html(strbuf *html, cmark_node* ils) escape_html(html, ils->as.link.title, -1); } - strbuf_puts(html, "\"/>"); + strbuf_puts(html, "\" />"); break; case NODE_STRONG: -- cgit v1.2.3