=================================================================== RCS file: /cvs/mandoc/mdoc_html.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -p -r1.21 -r1.22 --- mandoc/mdoc_html.c 2009/10/04 09:00:40 1.21 +++ mandoc/mdoc_html.c 2009/10/04 15:24:54 1.22 @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.21 2009/10/04 09:00:40 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.22 2009/10/04 15:24:54 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -580,6 +580,8 @@ mdoc_sh_pre(MDOC_ARGS) (void)strlcat(link, "_", BUFSIZ); } + /* FIXME: make sure no duplicates! */ + tag[0].key = ATTR_CLASS; tag[0].val = "sec-head"; tag[1].key = ATTR_ID; @@ -635,6 +637,8 @@ mdoc_ss_pre(MDOC_ARGS) } buffmt(h, "margin-left: -%dem;", INDENT - HALFINDENT); + + /* FIXME: make sure no duplicates! */ tag[0].key = ATTR_CLASS; tag[0].val = "ssec-head";