summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-25 10:37:49 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-25 10:37:49 +0000
commit3349c72d72c8acc21ae7930af2eb590dbe4617a0 (patch)
treeeaafa03a110d0f89290807f36acce68a9d4d944c /mdoc_validate.c
parentef0c12c03523dc1118e1aedf95ea477327b2c1cd (diff)
downloadmandoc-3349c72d72c8acc21ae7930af2eb590dbe4617a0.tar.gz
If %B is specified, quote %T. Noted by schwarze@ in the TODO.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 0e8f6d53..94dea3d9 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1665,8 +1665,8 @@ post_rs(POST_ARGS)
break;
if (i < RSORD_MAX) {
- if (MDOC__J == rsord[i])
- mdoc->last->norm->Rs.child_J = nn;
+ if (MDOC__J == rsord[i] || MDOC__B == rsord[i])
+ mdoc->last->norm->Rs.quote_T++;
next = nn->next;
continue;
}