summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/html.c b/html.c
index cb175d88..e46d0a47 100644
--- a/html.c
+++ b/html.c
@@ -73,6 +73,7 @@ static const char *const htmlattrs[ATTR_MAX] = {
"style",
"width",
"valign",
+ "target",
};
#ifdef __linux__
@@ -87,7 +88,8 @@ html_alloc(char *outopts)
toks[0] = "style";
toks[1] = "man";
- toks[2] = NULL;
+ toks[2] = "includes";
+ toks[3] = NULL;
if (NULL == (h = calloc(1, sizeof(struct html))))
return(NULL);
@@ -100,8 +102,6 @@ html_alloc(char *outopts)
return(NULL);
}
- h->base_man = "%N.%S.html";
-
while (outopts && *outopts)
switch (getsubopt(&outopts, toks, &v)) {
case (0):
@@ -110,6 +110,9 @@ html_alloc(char *outopts)
case (1):
h->base_man = v;
break;
+ case (2):
+ h->base_includes = v;
+ break;
default:
break;
}