summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-10-01 12:09:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-10-01 12:09:55 +0000
commitc3ccf2f42ee5664ddacf557bae68288b6dea8c44 (patch)
treef4c1c6d7e9e54d3ea02b1322962897fca0d40b14 /mdoc_html.c
parentddb8c20e76ca162b2fbfbf7131f5b2a6ee36eea5 (diff)
downloadmandoc-c3ccf2f42ee5664ddacf557bae68288b6dea8c44.tar.gz
mandoc-c3ccf2f42ee5664ddacf557bae68288b6dea8c44.tar.zst
mandoc-c3ccf2f42ee5664ddacf557bae68288b6dea8c44.zip
Fix small regression where `Op' had an extra space between the "[" and the SPAN.
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 a621936a..900e0943 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.108 2010/09/27 11:21:39 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.109 2010/10/01 12:09:55 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -2157,6 +2157,7 @@ mdoc_quote_pre(MDOC_ARGS)
/* FALLTHROUGH */
case (MDOC_Op):
print_text(h, "\\(lB");
+ h->flags |= HTML_NOSPACE;
PAIR_CLASS_INIT(&tag, "opt");
print_otag(h, TAG_SPAN, 1, &tag);
break;