summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2020-09-02 10:52:58 +0100
committerKatolaZ <katolaz@freaknet.org>2020-09-02 10:52:58 +0100
commit0616a65a9c35e505642160f3354476a1028b3e7f (patch)
tree8625e6450647c0b4b27ee8675fb2e88bbdaf0f34
parentf3e0df347b75588b3c2475590beb2790560411f8 (diff)
fix slant
-rw-r--r--src/mom.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mom.c b/src/mom.c
index a601af9..5b14956 100644
--- a/src/mom.c
+++ b/src/mom.c
@@ -233,13 +233,9 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node,
case CMARK_NODE_EMPH:
if (entering) {
- CR();
- LIT(".SETSLANT");
- CR();
+ LIT("\\*[SLANT]");
} else {
- CR();
- LIT(".SETSLANT RESET");
- CR();
+ LIT("\\*[SLANTX]");
}
break;