summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-04 15:24:54 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-04 15:24:54 +0000
commit3b2ccd70393214cf6fb85913738a991c84ff369a (patch)
treec1bf420c4bb9fe993a009eaf82f6b11a46a24925 /mdoc_html.c
parentab43bcf702ae29d5e464c13bacd02d17663c64c8 (diff)
downloadmandoc-3b2ccd70393214cf6fb85913738a991c84ff369a.tar.gz
mandoc-3b2ccd70393214cf6fb85913738a991c84ff369a.tar.zst
mandoc-3b2ccd70393214cf6fb85913738a991c84ff369a.zip
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).
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c6
1 files changed, 5 insertions, 1 deletions
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 <kristaps@kth.se>
*
@@ -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;