aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-17 10:37:26 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-17 10:37:26 +0000
commite741152dcb79ccdf5dbaa1cff72e777f682f2388 (patch)
treeb355d5de9dcc7efd50daf5d35fc3a75e9d9c15c4 /html.c
parent2811cf9116a5ab48ae7516219eae6beb84211707 (diff)
downloadmandoc-e741152dcb79ccdf5dbaa1cff72e777f682f2388.tar.gz
mandoc-e741152dcb79ccdf5dbaa1cff72e777f682f2388.tar.zst
mandoc-e741152dcb79ccdf5dbaa1cff72e777f682f2388.zip
Make literal `Bd' use a PRE in -Thtml. Make `Bd' output in general use
only a single DIV or PRE. Tag all displays with display class.
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index 8d5d4793..b6a310c0 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.117 2010/12/17 08:17:40 kristaps Exp $ */
+/* $Id: html.c,v 1.118 2010/12/17 10:37:26 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -69,6 +69,7 @@ static const struct htmldata htmltags[TAG_MAX] = {
{"dd", HTML_CLRLINE}, /* TAG_DD */
{"blockquote", HTML_CLRLINE}, /* TAG_BLOCKQUOTE */
{"p", HTML_CLRLINE | HTML_NOSTACK | HTML_AUTOCLOSE}, /* TAG_P */
+ {"pre", HTML_CLRLINE }, /* TAG_PRE */
};
static const char *const htmlfonts[HTMLFONT_MAX] = {