diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-10 10:43:57 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-10 10:43:57 +0000 |
commit | f78e525bbf6c4d6f545d78949778d95f5dfaa55f (patch) | |
tree | b09a7f9c9fdf7e8c4dc97030c55c045eea50d5d0 /html.c | |
parent | e0d9872bbdd4110b297086232c64be230e972e68 (diff) | |
download | mandoc-f78e525bbf6c4d6f545d78949778d95f5dfaa55f.tar.gz |
*** empty log message ***
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -72,7 +72,7 @@ static int html_begin(struct md_mbuf *, const struct md_args *, const struct tm *, const char *, const char *, - enum roffmsec, const char *); + enum roffmsec, enum roffvol); static int html_printargs(struct md_mbuf *, int, const char *, const int *, const char **, size_t *); @@ -382,15 +382,23 @@ html_aputln(struct md_mbuf *mbuf, enum ml_scope scope, int i, static int html_begin(struct md_mbuf *mbuf, const struct md_args *args, const struct tm *tm, const char *os, - const char *name, enum roffmsec msec, const char *vol) + const char *name, enum roffmsec msec, enum roffvol vol) { struct html_pair attr[4]; - char ts[32]; + char ts[32], title[64]; int i; (void)snprintf(ts, sizeof(ts), "%s(%s)", name, roff_msecname(msec)); + (void)snprintf(ts, sizeof(ts), "%s", + name, roff_volname(vol)); + + if (vol >= ROFF_ARCH_START) { + + } + + i = 0; if ( ! html_typeput(mbuf, HTML_TYPE_4_01_STRICT, NULL)) |