summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-25 16:20:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-25 16:20:24 +0000
commit39ff6e4b0b3b7a522539aec9a027f1b265b6d8ae (patch)
treedc7856135dcd0245df0c7a792e52050d36978f91 /mdoc_term.c
parente715d2a075efaec805b4b67c6fd39ab481b6327a (diff)
downloadmandoc-39ff6e4b0b3b7a522539aec9a027f1b265b6d8ae.tar.gz
Arguments to `Bsx' and friends are separated by a non-breaking space.
This removes a TODO raised by schwarze@.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 703f2d06..942753b0 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1728,9 +1728,13 @@ termp_xx_pre(DECL_ARGS)
break;
}
- assert(pp);
term_word(p, pp);
- return(1);
+ if (n->child) {
+ p->flags |= TERMP_KEEP;
+ term_word(p, n->child->string);
+ p->flags &= ~TERMP_KEEP;
+ }
+ return(0);
}