aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-04-06 11:28:17 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-04-06 11:28:17 +0000
commit80afe8e5f638df0bd4a6db2145ae2babd9ede57d (patch)
treeb5184c1937b02ef44c242c520f8e51e84d2a3655 /mdoc_html.c
parent5c1741ee5854b0a14d5daee8a6b5a0a8616c4692 (diff)
downloadmandoc-80afe8e5f638df0bd4a6db2145ae2babd9ede57d.tar.gz
mandoc-80afe8e5f638df0bd4a6db2145ae2babd9ede57d.tar.zst
mandoc-80afe8e5f638df0bd4a6db2145ae2babd9ede57d.zip
Let `Bl' accept arguments on the head line with a warning (these are ignored in the front-end device) (noted by Theo de Raadt).
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 43abe55d..cd4119a2 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.58 2010/04/06 07:27:42 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.59 2010/04/06 11:28:17 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -1116,6 +1116,8 @@ mdoc_bl_pre(MDOC_ARGS)
{
struct ord *ord;
+ if (MDOC_HEAD == n->type)
+ return(0);
if (MDOC_BLOCK != n->type)
return(1);
if (MDOC_Enum != a2list(n))