summaryrefslogtreecommitdiffstats
path: root/mdoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc.c')
-rw-r--r--mdoc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc.c b/mdoc.c
index b56f62c2..e6c1c424 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -725,6 +725,7 @@ argdup(size_t argsz, const struct mdoc_arg *args)
}
+/* FIXME: deprecate. */
char *
mdoc_node2a(struct mdoc_node *node)
{
@@ -741,6 +742,7 @@ mdoc_node2a(struct mdoc_node *node)
(void)xstrlcat(buf, node->data.text.string, 64);
else
(void)xstrlcat(buf, mdoc_macronames[node->tok], 64);
+ (void)xstrlcat(buf, "'", 64);
return(buf);
}