summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-01-09 12:48:53 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-01-09 12:48:53 +0000
commit5411dc17a3115b026a82e16c34668d45f6f1e7c6 (patch)
treea0ba66217ac78aaafdb80c98452e963d10067444 /usr.bin
parent176f8dccaa15e3b1cedcc6e4d39aa58aef3a7c8a (diff)
The .No macro is not supposed to produce fixed-width font, it is not
the same as .Li, so don't use <code>. Bug reported by <Anton dot Lindqvist at gmail dot com> on tech@.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/mdoc_html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c
index 894a5e16c2e..a5a646cd541 100644
--- a/usr.bin/mandoc/mdoc_html.c
+++ b/usr.bin/mandoc/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdoc_html.c,v 1.116 2017/01/08 22:51:53 schwarze Exp $ */
+/* $OpenBSD: mdoc_html.c,v 1.117 2017/01/09 12:48:52 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -1847,7 +1847,7 @@ mdoc_no_pre(MDOC_ARGS)
struct htmlpair tag;
PAIR_CLASS_INIT(&tag, "none");
- print_otag(h, TAG_CODE, 1, &tag);
+ print_otag(h, TAG_SPAN, 1, &tag);
return 1;
}