From 3b2ccd70393214cf6fb85913738a991c84ff369a Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 4 Oct 2009 15:24:54 +0000 Subject: Structural components of -man -Thtml in place (note that HP is the same as IP, as HTML doesn't "do" this construction without fixed page widths). --- mdoc_html.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index 9d383916..49414b57 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -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; @@ -636,6 +638,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"; tag[1].key = ATTR_STYLE; -- cgit v1.2.3-56-ge451