diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-21 14:56:57 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-21 14:56:57 +0000 |
commit | 42e8be336a5fb9b91fff3550e7a9a2a286840b16 (patch) | |
tree | 5c8820faff498f89ff9ff18e764e67b88bbe5945 /validate.c | |
parent | 24a95b9b6e0ec8aecdb7365d17ccde90fcceb59f (diff) | |
download | mandoc-42e8be336a5fb9b91fff3550e7a9a2a286840b16.tar.gz mandoc-42e8be336a5fb9b91fff3550e7a9a2a286840b16.tar.zst mandoc-42e8be336a5fb9b91fff3550e7a9a2a286840b16.zip |
Initial list support (not nested, yet).
Diffstat (limited to 'validate.c')
-rw-r--r-- | validate.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: validate.c,v 1.47 2009/01/21 17:56:32 kristaps Exp $ */ +/* $Id: validate.c,v 1.48 2009/02/21 14:56:58 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -708,6 +708,8 @@ static int pre_it(struct mdoc *mdoc, struct mdoc_node *node) { + /* TODO: -width attribute must be specified for -tag. */ + if (MDOC_BLOCK != node->type) return(1); return(pre_check_parent(mdoc, node, MDOC_Bl, MDOC_BODY)); |