summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/man_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-01-20 23:51:00 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-01-20 23:51:00 +0000
commit1b7339a726bdae2fc9e45698ae986842bf9b6f93 (patch)
treebb1707a9de93bef9e76368f6e28c9568684975a5 /usr.bin/mandoc/man_html.c
parent99bff523d432619a0f3ef3ca1738e9c53aa57e13 (diff)
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);