diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-04-06 11:28:17 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-04-06 11:28:17 +0000 |
commit | 80afe8e5f638df0bd4a6db2145ae2babd9ede57d (patch) | |
tree | b5184c1937b02ef44c242c520f8e51e84d2a3655 /mdoc_html.c | |
parent | 5c1741ee5854b0a14d5daee8a6b5a0a8616c4692 (diff) | |
download | mandoc-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.c | 4 |
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)) |