=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_html.c,v retrieving revision 1.216 retrieving revision 1.217 diff -c -r1.216 -r1.217 *** src/usr.bin/mandoc/mdoc_html.c 2020/10/16 17:22:39 1.216 --- src/usr.bin/mandoc/mdoc_html.c 2021/03/30 19:23:50 1.217 *************** *** 1,6 **** ! /* $OpenBSD: mdoc_html.c,v 1.216 2020/10/16 17:22:39 schwarze Exp $ */ /* ! * Copyright (c) 2014-2020 Ingo Schwarze * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any --- 1,6 ---- ! /* $OpenBSD: mdoc_html.c,v 1.217 2021/03/30 19:23:50 schwarze Exp $ */ /* ! * Copyright (c) 2014-2021 Ingo Schwarze * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any *************** *** 928,934 **** static int mdoc_bd_pre(MDOC_ARGS) { ! char buf[16]; struct roff_node *nn; int comp; --- 928,934 ---- static int mdoc_bd_pre(MDOC_ARGS) { ! char buf[20]; struct roff_node *nn; int comp; *************** *** 964,969 **** --- 964,972 ---- if (n->norm->Bd.offs != NULL && strcmp(n->norm->Bd.offs, "left") != 0) (void)strlcat(buf, " Bd-indent", sizeof(buf)); + + if (n->norm->Bd.type == DISP_literal) + (void)strlcat(buf, " Li", sizeof(buf)); print_otag_id(h, TAG_DIV, buf, n); return 1;