cmark

My personal build of CMark ✏️

Commit
1f8ea828409287b7901bf32d01f8ec662ffdc9ba
Parent
31423d6f7d2e1af5c22fdcc74b6e951f15a1130c
Author
John MacFarlane <jgm@berkeley.edu>
Date

render: initialize begin_content to true.

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified src/render.c 2 1 1
diff --git a/src/render.c b/src/render.c
@@ -142,7 +142,7 @@ char *cmark_render(cmark_node *root, int options, int width,
   cmark_iter *iter = cmark_iter_new(root);
 
   cmark_renderer renderer = {&buf,  &pref, 0,    width, 0,           0,    true,
-                             false, false, false,
+                             true, false, false,
                              outc, S_cr,  S_blankline, S_out};
 
   while ((ev_type = cmark_iter_next(iter)) != CMARK_EVENT_DONE) {