summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-23 00:45:03 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-23 00:45:03 +0000
commitb33bf33f98a8a9b9bbdfadef137c7dcf838939b0 (patch)
treed8ec0a4fafa8aee02476de65d2c14f856d3497d1 /mdoc_html.c
parent86c415a36a84ea824ae8027e264a019df0458243 (diff)
downloadmandoc-b33bf33f98a8a9b9bbdfadef137c7dcf838939b0.tar.gz
Ensure -Thtml has DIV as child of BLOCKQUOTE.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 1d57958a..f9ca7269 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -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);
}