From 35d4aaed89e7337b61f0213b253b9bee370ad2c3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 8 May 2018 21:42:34 +0000 Subject: Eliminate the class=It-* attributes. Cleaner HTML, more idiomatic CSS, and minus 30 lines of C code. Suggested by John Gardner . --- man_html.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'man_html.c') 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 * Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze @@ -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. */ -- cgit v1.2.3