From a34ae82184a7ad7f2fd894c19fa61b1c772e6beb Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Wed, 2 Sep 2020 17:48:08 +0100 Subject: fix list shift and thematic break --- src/mom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '**') diff --git a/src/mom.c b/src/mom.c index 5b14956..98de28f 100644 --- a/src/mom.c +++ b/src/mom.c @@ -111,14 +111,14 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node, if (entering) { CR(); LIT(".LIST "); - CR(); - LIT(".SHIFT_LIST 20p"); if (cmark_node_get_list_type(node) == CMARK_BULLET_LIST) { LIT("BULLET"); } else { LIT("DIGIT"); } CR(); + LIT(".SHIFT_LIST 20p"); + CR(); } else { CR(); LIT(".LIST OFF"); @@ -172,7 +172,7 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node, case CMARK_NODE_THEMATIC_BREAK: CR(); - LIT(".PP\n * * * * *"); + LIT(".PP\n -+-+-+-+-"); CR(); break; -- cgit v1.2.3