summaryrefslogtreecommitdiff
path: root/src/man.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/man.c')
-rw-r--r--src/man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/man.c b/src/man.c
index e72a121..36a5c99 100644
--- a/src/man.c
+++ b/src/man.c
@@ -130,8 +130,8 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, void *vstate)
case CMARK_NODE_CODE_BLOCK:
cr(man);
cmark_strbuf_puts(man, ".IP\n.nf\n\\f[C]\n");
- escape_man(man, node->as.literal.data,
- node->as.literal.len);
+ escape_man(man, node->as.code.literal.data,
+ node->as.code.literal.len);
cr(man);
cmark_strbuf_puts(man, "\\f[]\n.fi");
cr(man);