aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit148050ac02f2a72a10aa08af72827b256ebed314 (patch)
treece56df235b6865e3d5a1c3c0af3e3b7d607278e8
parentb569fb3a78ad114031c38c25bfcbca862217ae64 (diff)
downloadmandoc-148050ac02f2a72a10aa08af72827b256ebed314.tar.gz
mandoc-148050ac02f2a72a10aa08af72827b256ebed314.tar.zst
mandoc-148050ac02f2a72a10aa08af72827b256ebed314.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@.
-rw-r--r--mdoc_html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 3a15f147..3de14e2a 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.241 2017/01/08 22:51:55 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.242 2017/01/09 12:48:58 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;
}