summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-27 11:56:06 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-27 11:56:06 +0000
commitad51ca9b6263d2aa0b97e7f7cf86fd2d8d59940d (patch)
tree8e1ec780f6d98a416dac857cbb99a4a9f78c59c5
parent20793303cd975d66c726b5630e22edcc60234e9d (diff)
sync to 1.7.20: .Bl -diag get two spaces after the tag
-rw-r--r--usr.bin/mandoc/mdoc_term.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_term.c b/usr.bin/mandoc/mdoc_term.c
index 1a34a10c0ed..3127d9024c4 100644
--- a/usr.bin/mandoc/mdoc_term.c
+++ b/usr.bin/mandoc/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.15 2009/06/27 11:49:37 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.16 2009/06/27 11:56:05 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -786,11 +786,13 @@ termp_it_pre(DECL_ARGS)
}
/*
- * Whitespace control. Inset bodies need an initial space.
+ * Whitespace control. Inset bodies need an initial space,
+ * while diagonal bodies need two.
*/
switch (type) {
case (MDOC_Diag):
+ term_word(p, "\\ ");
/* FALLTHROUGH */
case (MDOC_Inset):
if (MDOC_BODY == node->type)