diff options
author | 2018-05-08 21:42:11 +0000 | |
---|---|---|
committer | 2018-05-08 21:42:11 +0000 | |
commit | 492a74ca7d7226e85bd12721b837c22db126e71e (patch) | |
tree | c962eb1f63d9822671219296fcd4d07cb758ac39 /usr.bin/mandoc/man_html.c | |
parent | Switch the emitted HTML element from <b> to <code> for the fixed (diff) | |
download | wireguard-openbsd-492a74ca7d7226e85bd12721b837c22db126e71e.tar.xz wireguard-openbsd-492a74ca7d7226e85bd12721b837c22db126e71e.zip |
Eliminate the class=It-* attributes.
Cleaner HTML, more idiomatic CSS, and minus 30 lines of C code.
Suggested by John Gardner <gardnerjohng at gmail dot com>.
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
-rw-r--r-- | usr.bin/mandoc/man_html.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mandoc/man_html.c b/usr.bin/mandoc/man_html.c index 11673267932..c7f7ea123d6 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.101 2018/04/24 00:36:04 schwarze Exp $ */ +/* $OpenBSD: man_html.c,v 1.102 2018/05/08 21:42:11 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org> @@ -523,7 +523,7 @@ man_IP_pre(MAN_ARGS) const struct roff_node *nn; if (n->type == ROFFT_BODY) { - print_otag(h, TAG_DD, "c", "It-tag"); + print_otag(h, TAG_DD, ""); return 1; } else if (n->type != ROFFT_HEAD) { print_otag(h, TAG_DL, "c", "Bl-tag"); @@ -532,7 +532,7 @@ man_IP_pre(MAN_ARGS) /* FIXME: width specification. */ - print_otag(h, TAG_DT, "c", "It-tag"); + print_otag(h, TAG_DT, ""); /* For IP, only print the first header element. */ |