summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-04-04 22:38:26 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-04-04 22:38:26 +0000
commit39a9b3c973d1e32bc0a38cb78ede6b3d6c3ea2ea (patch)
tree644d90b3b1c1fc91b27b0f5b8c3c7a28e6961fd2 /mdoc_html.c
parentb961d5041dde27a61949515306eb76f03c327dbc (diff)
downloadmandoc-39a9b3c973d1e32bc0a38cb78ede6b3d6c3ea2ea.tar.gz
mandoc-39a9b3c973d1e32bc0a38cb78ede6b3d6c3ea2ea.tar.zst
mandoc-39a9b3c973d1e32bc0a38cb78ede6b3d6c3ea2ea.zip
Suppress a space following the "(" for -T[x]html `Fn'. Found by random
perusal of online manuals.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 49782a39..c3b3f68b 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.162 2011/04/04 16:48:18 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.163 2011/04/04 22:38:26 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -1558,6 +1558,7 @@ mdoc_fn_pre(MDOC_ARGS)
h->flags |= HTML_NOSPACE;
print_text(h, "(");
+ h->flags |= HTML_NOSPACE;
bufinit(h);
PAIR_CLASS_INIT(&tag[0], "farg");