summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2020-09-02 17:48:08 +0100
committerKatolaZ <katolaz@freaknet.org>2020-09-02 17:48:08 +0100
commita34ae82184a7ad7f2fd894c19fa61b1c772e6beb (patch)
tree5e6208a27b4a783ecb571c8de677e0f55f275f0c /src
parent0616a65a9c35e505642160f3354476a1028b3e7f (diff)
fix list shift and thematic breakHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/mom.c6
1 files changed, 3 insertions, 3 deletions
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;