aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-19 10:18:05 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-19 10:18:05 +0000
commitf03e61eec654457c0e38456d0b639bef13db4165 (patch)
tree7db3281884b2f2e8f6ab34a343a10dc59b155dd0 /mdoc_html.c
parent388b669c6c39efbc32aa8894517787b6b58bcc29 (diff)
downloadmandoc-f03e61eec654457c0e38456d0b639bef13db4165.tar.gz
mandoc-f03e61eec654457c0e38456d0b639bef13db4165.tar.zst
mandoc-f03e61eec654457c0e38456d0b639bef13db4165.zip
Fixed -mdoc -Thtml with -item lists not to default-indent when width isn't specified.
Many more cleanups to mdoc.7 (ongoing completion and documentation of all macros).
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 535d44e1..e4b2df57 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.32 2009/10/18 19:03:37 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.33 2009/10/19 10:18:06 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -1068,6 +1068,8 @@ mdoc_it_pre(MDOC_ARGS)
/* Override width in some cases. */
switch (type) {
+ case (MDOC_Item):
+ /* FALLTHROUGH */
case (MDOC_Inset):
/* FALLTHROUGH */
case (MDOC_Diag):