summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-01-20 23:50:59 +0000
committerschwarze <schwarze@openbsd.org>2017-01-20 23:50:59 +0000
commit774a248cf5652b0a70cbc4b89a8cc49643a2a3e4 (patch)
treec3ef62dc2523a5f7bde0d22bcca2cc6c3bc0aa43 /usr.bin/mandoc/man_html.c
parentwork on making log.c similar in all daemons: (diff)
downloadwireguard-openbsd-774a248cf5652b0a70cbc4b89a8cc49643a2a3e4.tar.xz
wireguard-openbsd-774a248cf5652b0a70cbc4b89a8cc49643a2a3e4.zip
Standardize class attributes for semantic macros.
Correct markup for .Va and iprove markup for .Dv, .Er, .Ev while here.
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
-rw-r--r--usr.bin/mandoc/man_html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mandoc/man_html.c b/usr.bin/mandoc/man_html.c
index c17ccfe4e9a..9837e787b2f 100644
--- a/usr.bin/mandoc/man_html.c
+++ b/usr.bin/mandoc/man_html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: man_html.c,v 1.80 2017/01/19 15:27:26 schwarze Exp $ */
+/* $OpenBSD: man_html.c,v 1.81 2017/01/20 23:50:59 schwarze Exp $ */
/*
* Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -515,7 +515,7 @@ man_OP_pre(MAN_ARGS)
print_text(h, "[");
h->flags |= HTML_NOSPACE;
- tt = print_otag(h, TAG_SPAN, "c", "opt");
+ tt = print_otag(h, TAG_SPAN, "c", "Op");
if (NULL != (n = n->child)) {
print_otag(h, TAG_B, "");
@@ -601,7 +601,7 @@ man_UR_pre(MAN_ARGS)
assert(n->type == ROFFT_HEAD);
if (n->child != NULL) {
assert(n->child->type == ROFFT_TEXT);
- print_otag(h, TAG_A, "ch", "link-ext", n->child->string);
+ print_otag(h, TAG_A, "ch", "Lk", n->child->string);
}
assert(n->next->type == ROFFT_BODY);