aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-26 22:26:05 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-26 22:26:05 +0000
commit2ba814d7db70eb5d286afab67d67716cd8d0906e (patch)
tree46ced420234e1238f8ff6bccf26096bef4307c16 /html.c
parent24ce22505f53c465459aae9ef86b0d767b2d69e7 (diff)
downloadmandoc-2ba814d7db70eb5d286afab67d67716cd8d0906e.tar.gz
mandoc-2ba814d7db70eb5d286afab67d67716cd8d0906e.tar.zst
mandoc-2ba814d7db70eb5d286afab67d67716cd8d0906e.zip
Make `Sm' start no-spacing after the first output word. Fix in both
-T[x]html and -T{pdf,ps,ascii}. Reported by Jason McIntyre.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/html.c b/html.c
index e90644a1..24c17fb2 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.109 2010/07/23 00:08:57 kristaps Exp $ */
+/* $Id: html.c,v 1.110 2010/07/26 22:26:05 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -419,6 +419,8 @@ print_otag(struct html *h, enum htmltag tag,
if ( ! (h->flags & HTML_NONOSPACE))
h->flags &= ~HTML_NOSPACE;
+ else
+ h->flags |= HTML_NOSPACE;
/* Print out the tag name and attributes. */