summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-31 21:35:35 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-31 21:35:35 -0700
commit3a440af3ba874289ef33ac6bbf2da90040c123d6 (patch)
treefacc2efc3470351b5b0c8ed1ff5420e6ce920639
parentf182ed34e1ffa9eddb5c3f9c2eaf5c21f59c6129 (diff)
render.c: reset last_breakable after cr.
Fixes jgm/pandoc#5033.
-rw-r--r--src/render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render.c b/src/render.c
index 20dca5f..dd65d3b 100644
--- 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;