summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2020-09-02 10:50:11 +0100
committerKatolaZ <katolaz@freaknet.org>2020-09-02 10:50:11 +0100
commit17920394fa25528d982560c9a7231598a45466fa (patch)
tree10f3c67bdf1db4a8b1d33656b07f7e8404eaa6ef /src
parent7f962c74879713d9aa6aeb09993dd7d80bccedd0 (diff)
fix bold
Diffstat (limited to 'src')
-rw-r--r--src/mom.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mom.c b/src/mom.c
index aa866f0..a601af9 100644
--- a/src/mom.c
+++ b/src/mom.c
@@ -224,13 +224,10 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node,
case CMARK_NODE_STRONG:
if (entering) {
- CR();
- LIT(".SETBOLDER");
- CR();
+ LIT("\\*[BOLDER]");
+
} else {
- CR();
- LIT(".SETBOLDER RESET");
- CR();
+ LIT("\\*[BOLDERX]");
}
break;