aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-08-18 09:16:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-08-18 09:16:01 +0000
commit0592e18f12cd052071f1a3b6ced15bbf5d294224 (patch)
treeed588fd3ca6261d5eeed403ef93f666bd4bb9707 /man_html.c
parent2255d868c1b152d143051be882758d3b55357300 (diff)
downloadmandoc-0592e18f12cd052071f1a3b6ced15bbf5d294224.tar.gz
mandoc-0592e18f12cd052071f1a3b6ced15bbf5d294224.tar.zst
mandoc-0592e18f12cd052071f1a3b6ced15bbf5d294224.zip
Align `-offset indent' and `D1' by forcing BLOCKQUOTE to have a 5ex
margin. This is dubious: the HTML4 spec specifically says that BLOCKQUOTE shouldn't be abused for indentation, which is exactly what we do. However, `D1' needs indentation and it's the only way to force text browsers to do so. Alternatives? Also remove the unused HALFINDENT defines while here.
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/man_html.c b/man_html.c
index 026364ae..db6b1f90 100644
--- a/man_html.c
+++ b/man_html.c
@@ -1,4 +1,4 @@
-/* $Id: man_html.c,v 1.80 2011/07/23 22:57:13 kristaps Exp $ */
+/* $Id: man_html.c,v 1.81 2011/08/18 09:16:01 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -36,7 +36,6 @@
/* FIXME: have PD set the default vspace width. */
#define INDENT 5
-#define HALFINDENT 3
#define MAN_ARGS const struct man_meta *m, \
const struct man_node *n, \