aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-05-08 21:42:34 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-05-08 21:42:34 +0000
commit35d4aaed89e7337b61f0213b253b9bee370ad2c3 (patch)
tree69900d27d3132175d469c427dc6526c136102d1b /man_html.c
parent8a7069d03a4019d0695562840e952404eaeb9187 (diff)
downloadmandoc-35d4aaed89e7337b61f0213b253b9bee370ad2c3.tar.gz
mandoc-35d4aaed89e7337b61f0213b253b9bee370ad2c3.tar.zst
mandoc-35d4aaed89e7337b61f0213b253b9bee370ad2c3.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 'man_html.c')
-rw-r--r--man_html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/man_html.c b/man_html.c
index 6aee4ffe..e8b4138c 100644
--- a/man_html.c
+++ b/man_html.c
@@ -1,4 +1,4 @@
-/* $Id: man_html.c,v 1.148 2018/04/24 00:36:53 schwarze Exp $ */
+/* $Id: man_html.c,v 1.149 2018/05/08 21:42:34 schwarze Exp $ */
/*
* Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -525,7 +525,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");
@@ -534,7 +534,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. */