summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 1c405de8..16a8f64e 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -945,7 +945,10 @@ mdoc_bl_pre(MDOC_ARGS)
PAIR_STYLE_INIT(&tag[0], h);
assert(lists[n->data.Bl->type]);
- PAIR_CLASS_INIT(&tag[1], lists[n->data.Bl->type]);
+ bufinit(h);
+ bufcat(h, "list ");
+ bufcat(h, lists[n->data.Bl->type]);
+ PAIR_INIT(&tag[1], ATTR_CLASS, h->buf);
i = 2;
/* Set the block's left-hand margin. */