summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-01-09 12:48:58 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-01-09 12:48:58 +0000
commita84457e0a5375a2fdc42b4f7433a57e42b8fb4f2 (patch)
tree4f0b01c578ac82a7f3881c6a0b3920f3e028f57d
parent6769f9615389aedbeaaf3a3c3153aec49c88954c (diff)
downloadmandoc-a84457e0a5375a2fdc42b4f7433a57e42b8fb4f2.tar.gz
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@.
-rw-r--r--mdoc_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 40252c5f..b78a30fa 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1849,7 +1849,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;
}