summaryrefslogtreecommitdiffstats
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
commitaeb53baa584ae0fe0d04a3cd1e74f509d353e8c0 (patch)
tree00d440a16a75d6d270567180f1501a5506625605 /mdoc_html.c
parent6d0ad067809e00ebce310fb6eb53a72a9874a704 (diff)
downloadmandoc-aeb53baa584ae0fe0d04a3cd1e74f509d353e8c0.tar.gz
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index bfcb5674..90d22e1f 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -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))