summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man_html.c5
-rw-r--r--man_term.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/man_html.c b/man_html.c
index 59d4ca0a..679c3280 100644
--- a/man_html.c
+++ b/man_html.c
@@ -547,8 +547,10 @@ man_PP_pre(MAN_ARGS)
struct roffsu su;
int i;
- if (MAN_BLOCK != n->type)
+ if (MAN_BODY == n->type)
return(1);
+ if (MAN_HEAD == n->type)
+ return(0);
i = 0;
@@ -565,6 +567,7 @@ man_PP_pre(MAN_ARGS)
PAIR_STYLE_INIT(&tag, h);
print_otag(h, TAG_DIV, i, &tag);
+
return(1);
}
diff --git a/man_term.c b/man_term.c
index 3847b2f9..e7fb2a68 100644
--- a/man_term.c
+++ b/man_term.c
@@ -492,7 +492,7 @@ pre_PP(DECL_ARGS)
break;
}
- return(1);
+ return(MAN_HEAD != n->type);
}