cmark

My personal build of CMark ✏️

Commit
3a440af3ba874289ef33ac6bbf2da90040c123d6
Parent
f182ed34e1ffa9eddb5c3f9c2eaf5c21f59c6129
Author
John MacFarlane <jgm@berkeley.edu>
Date

render.c: reset last_breakable after cr.

Fixes jgm/pandoc#5033.

Diffstat

1 file changed, 1 insertion, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified src/render.c 1 1 0
diff --git a/src/render.c b/src/render.c
@@ -45,6 +45,7 @@ static void S_out(cmark_renderer *renderer, const char *source, bool wrap,
       }
     }
     renderer->column = 0;
+    renderer->last_breakable = 0;
     renderer->begin_line = true;
     renderer->begin_content = true;
     renderer->need_cr -= 1;