diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-23 00:45:03 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-23 00:45:03 +0000 |
commit | 188534b2a99bf10e95000577793cb759e21d5a78 (patch) | |
tree | abea25de3c4c71dbe7e7251cb7061bbba6567209 | |
parent | 20043afd99dccff3cd3e1c7cfacfd4132a19fb85 (diff) | |
download | mandoc-188534b2a99bf10e95000577793cb759e21d5a78.tar.gz mandoc-188534b2a99bf10e95000577793cb759e21d5a78.tar.zst mandoc-188534b2a99bf10e95000577793cb759e21d5a78.zip |
Ensure -Thtml has DIV as child of BLOCKQUOTE.
-rw-r--r-- | mdoc_html.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index 2fb1f131..636a50a1 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -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 <kristaps@bsd.lv> * @@ -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); } |