summaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 09:50:31 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 09:50:31 +0000
commite31ba3ca2b454ee69e0708aa1fce28e3c3337584 (patch)
treed69e131442964c54ce9428745c7649af17392392 /html.c
parent3ed66df36c17c0acbbe4b0abf4000069483787ce (diff)
downloadmandoc-e31ba3ca2b454ee69e0708aa1fce28e3c3337584.tar.gz
mandoc-e31ba3ca2b454ee69e0708aa1fce28e3c3337584.tar.zst
mandoc-e31ba3ca2b454ee69e0708aa1fce28e3c3337584.zip
Added Bf, Pf, etc. to -Thtml.
Fixed Rs in -Tascii to behave properly when not in "SEE ALSO" section.
Diffstat (limited to 'html.c')
-rw-r--r--html.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/html.c b/html.c
index 9070e825..426624a4 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.51 2009/09/21 14:56:56 kristaps Exp $ */
+/* $Id: html.c,v 1.52 2009/09/24 09:50:31 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -424,7 +424,8 @@ print_text(struct html *h, const char *p)
case(']'):
/* FALLTHROUGH */
case('}'):
- h->flags |= HTML_NOSPACE;
+ if ( ! (HTML_IGNDELIM & h->flags))
+ h->flags |= HTML_NOSPACE;
break;
default:
break;