diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-10-31 21:35:35 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-10-31 21:35:35 -0700 |
commit | 3a440af3ba874289ef33ac6bbf2da90040c123d6 (patch) | |
tree | facc2efc3470351b5b0c8ed1ff5420e6ce920639 | |
parent | f182ed34e1ffa9eddb5c3f9c2eaf5c21f59c6129 (diff) |
render.c: reset last_breakable after cr.
Fixes jgm/pandoc#5033.
-rw-r--r-- | src/render.c | 1 |
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; |