cmark

My personal build of CMark ✏️

Commit
ae90bbe34fc24ffa5d8e2138bdfe46ddac2006be
Parent
8d10d5107880134c74a236f60f8babe595328078
Author
John MacFarlane <fiddlosopher@gmail.com>
Date

cmark: Add space before '/' in img tag.

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified src/html/html.c 2 1 1
diff --git 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: