summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 4df96ae4..d9af17ea 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -273,6 +273,7 @@ const struct valids mdoc_valids[MDOC_MAX] = {
{ NULL, posts_text }, /* %Q */
{ NULL, posts_notext }, /* br */
{ NULL, posts_sp }, /* sp */
+ { NULL, posts_text }, /* %U */
};
@@ -1155,6 +1156,8 @@ post_rs(POST_ARGS)
for (nn = mdoc->last->child; nn; nn = nn->next)
switch (nn->tok) {
+ case(MDOC__U):
+ /* FALLTHROUGH */
case(MDOC__Q):
/* FALLTHROUGH */
case(MDOC__C):