summaryrefslogtreecommitdiffstats
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
commit7781128d46665331fdbd9893a256257e88eaf96d (patch)
tree2e1e8ed81202c43bef356b75ea9f2f2cd86440d6 /html.c
parenta9dec6b72054a997078fb8d026d5a990639857dd (diff)
downloadmandoc-7781128d46665331fdbd9893a256257e88eaf96d.tar.gz
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index d8f47152..2b9e6057 100644
--- a/html.c
+++ b/html.c
@@ -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;