summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mdoc_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-01-09 12:48:52 +0000
committerschwarze <schwarze@openbsd.org>2017-01-09 12:48:52 +0000
commit73778c6411c665188b1ce7f7b8f40221d68c06eb (patch)
tree0015c21d8b99f7a2f6ddf67e98f0dea87d5ad96d /usr.bin/mandoc/mdoc_html.c
parentManage the HT protection setting if acting as hostap with 11n enabled. (diff)
downloadwireguard-openbsd-73778c6411c665188b1ce7f7b8f40221d68c06eb.tar.xz
wireguard-openbsd-73778c6411c665188b1ce7f7b8f40221d68c06eb.zip
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/mandoc/mdoc_html.c')
-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;
}