=================================================================== RCS file: /cvs/mandoc/mdoc_html.c,v retrieving revision 1.135 retrieving revision 1.136 diff -u -p -r1.135 -r1.136 --- mandoc/mdoc_html.c 2010/12/22 11:15:16 1.135 +++ mandoc/mdoc_html.c 2010/12/23 00:45:03 1.136 @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.135 2010/12/22 11:15:16 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.136 2010/12/23 00:45:03 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -1096,13 +1096,13 @@ mdoc_d1_pre(MDOC_ARGS) /* BLOCKQUOTE needs a block body. */ + PAIR_CLASS_INIT(&tag[0], "display"); + print_otag(h, TAG_DIV, 1, tag); + if (MDOC_Dl == n->tok) { - PAIR_CLASS_INIT(&tag[0], "lit display"); + PAIR_CLASS_INIT(&tag[0], "lit"); print_otag(h, TAG_CODE, 1, tag); - } else { - PAIR_CLASS_INIT(&tag[0], "display"); - print_otag(h, TAG_DIV, 1, tag); - } + } return(1); }