diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-05-08 21:42:34 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-05-08 21:42:34 +0000 |
commit | 35d4aaed89e7337b61f0213b253b9bee370ad2c3 (patch) | |
tree | 69900d27d3132175d469c427dc6526c136102d1b /man_html.c | |
parent | 8a7069d03a4019d0695562840e952404eaeb9187 (diff) | |
download | mandoc-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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. */ |